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

Emma extracted some fresh orange juice and mixed it with some water. The result was a cloudy yellow color. When poured through a filter, tiny bits of orange wer
14/2 three equivalent ratios
Which statement about the Inca civilization does not characterize them as a civilization? A) The Inca people grew surpluses of many food including sweet potatoe
Lorenzo plans a 570 mile trip to Nashville because he and his family will travel on interstate highways for most of the trip. They hope to average 60 mph how lo
What is the role of transitions within and between paragraphs. They finish ideas. They connect ideas. They clarify ideas. They add detail. They provide complex
How much heat is needed to change the temperature of a 30.0 gram sample of copper from 20.0c to 60.0c?
Maria bought 1/4 pound of ham and 5/8 pound of turkey. how much more turkey than ham did she buy?
Brenda and her friends often go shopping together to buy new clothes. Brenda finds her clothing budget too restrictive. What would be the best option for increa
French help please⁉️⁉️⁉️
What is a trade-off? A. a situation in which too much money is spent on nonessential purchases B. a method of saving money by investing in the stock market C.