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

Give an example of a situation in which you would describe an object’s position in: a. one dimension b. two dimensions c. three dimensions
In "All the World's a Stage," to what does Shakespeare compare all men and women? A. children B. actors C. flowers D. angels
The Mediterranean basin countries: Spain, Portugal, Italy, Greece, Turkey, Tunisia and Morocco, produce 90% of the world's olive oil supply. What is the most
Why did most volunteers stay to defend the alamo when they knew it meant almost certain death?
How many days are in 7.5 years
Birds play an important role in the environment by?
why are some animals more likely to survive to adulthood than other animals?
why is a square always symmetrical
A pet survey found that the ratio of dogs to cats is 2/5. Write and solve a proportion that shows the number of dogs if the number of cats is 140.
Which African American was the first black person to get a doctorate from Harvard University? a) Booker T. Washington b) F. L. Barnett c) W. E. B. Du Bois d) La