Ka9rievi1olineMcarb Ka9rievi1olineMcarb
  • 03-02-2017
  • Computers and Technology
contestada

What is this line of code doing? scanf("%f", &height);

Respuesta :

Xfox19
Xfox19 Xfox19
  • 03-02-2017
It's saving a float value in your variable "height".

for example:

float height = 0.0;

printf("Insert your height: ");
scanf("%f", &height);
Answer Link

Otras preguntas

The standard deviation of a sample taken from population A is 17.6 for a sample of 25. The standard deviation of a sample taken from population B is 21.2 for a
Select the correctly punctuated sentence.: a)Under the tree Angel found three gold coins. b)Under the tree, Angel found three gold coins. c)Under the tree, Ange
How does math relate to electrons and ion formation?
What happens in your neck muscles when you nod your head
explain how to find an estimate for the quotient 3.4÷6
One reason why Germany did NOT become a strong unified state during the Middle Ages was because __________. it was ruled by foreign rather than native princes i
What do an electron and a neutron have in common? Each particle has a mass of 1 amu. Each particle exists inside an atom. Each particle has an electrical ch
What was the impact of the sense of group identity created by the Harlem Renaissance? a. It ended discrimination against blacks in America. b. It formed a basis
A bakery offers a sale price of $3.50 for 4 muffins. What is the price per dozen
The plot of Antigone incorporates various elements of tragedy. Through which character does Sophocles primarily develop the element of hubris?