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

Is the church in to kill a mockingbird in the town limits?
The force produced by the pull of the earth's gravity on an object is called what?
Two parallel lines are _____ coplanar. never sometimes always Two lines that lie in parallel planes are _____ parallel. sometimes always never Please explain t
How did the germans change their tactics in preparing for operation sea lion?
Could someone help? I’m confused
Please help me on 3,4 and 6. Thanks
Which windows tool is used to determine if a dynamic disk is corrupted?
graph the linear equation find three points that solve the equationm then plot on the graph 2y=5x+11
John and Bill built a new barn. To finance the loan, they paid $1,292 interest on $47,000 at 3%. What was the time, using exact interest? (Do not round intermed
Professor smith informed the students of her intention to be a "fair" teacher. one student thought she meant that her approach to grading was going to be object