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

A set of equations is given below: Equation E: c = 2d + 1 Equation F: c = 3d + 7 Which statement describes a step that can be used to find the solution to the s
A scale model of the statue of liberty is 5 inches tall. if the statue of liberty is 305ft tall find the scale of the model.
What is 3 root of 125
Elements on the periodic table are arranged by increasing ?
How was the economic situation in the United States different than in European nations in the 1920s?
Ana buys a sweater for $25.60, and it is on sale for 35% off. What is the amount of the discount?
The perspectives represented in "Ozymandias" include all the following expect a. Ozymandias b. The sculptor c. The queen d. The traveler
Simplify. 5 – [–(–2)] A. –3 B. 3 C. –7 D. 7
A natural state, I'm sought by all. Go without me, and you shall fall. You do me when you spend, and use me when you eat to no end. What am I?
If f(x)=x-1/3and g(x)=3x+1, what is (f o g)(x)? 3x + 1 x – 3 3x x