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

Find the midpoint of the line segment with endpoints P P. ( 5 ) and P2 ( 13 )
Why are control groups needed when testing living things
Dr. Robbins took the elevator to the 18th floor. He went back down 7 floors, up 2 floors, and down 5 floors. What floor is he now on? And please tell him to sto
Which of the following is an advantage of inserting a page number field in your document rather than inserting each page number yourself? 01. • Page number fiel
Can someone explain how to do this? I forgot how to.
what is the important thing while we do business​
Ms. Khan asked her math students to find an equation of a line which has a graph parallel to the line y - 2+1 and which passes through the point (4,-2). Which e
what type of context clue can be used to determine the meaning of guile?what type of context clue can be used to determine the meaning of guile ​
1\2 - 4/11 and can the answer be simplified
Notice & Note “The Flight of Icarus” includes some specific wise words from a father to his son. How does this myth, as a whole, illustrate the idea of "Wor