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

Marathon Hours,Miles 0,0; 1,6; 2,11; 3,15; 4,21; 5,26.2. Cayla ran a marathon. The table shows which mile Cayla had finished at the end of each hour. Find Cayla
The average age of three men is 24 what is the sum of their ages
What's the distance between (-3,5) and (8,1)
Please help with number 3
Give the starting value a, the growth factor b, and the growth rate r if Q = abt = a(1 + r)t . Write r as a percent.Q=34.3(0.788)t a. a = 29.94 b = 0.788 r = 78
what is the best term for logical fallacy?
5th planet from the sun
Which twentieth-century president am I? I entered office in the midst of the worst economic depression this country has seen. I had a plan though, a New Deal,
What is the percentage of students who are NOT in the 60-64 inch class displayed in the histogram? (round to nearest whole percent)
12 is what percent of 40