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

how did coffee play a role in the french revolution?
people who are lactose-intolerant
At a pressure 47 kPa, the gas in a cylinder has a volume of 16 liters. Assuming temperature remains the same, if the volume of the gas is decreased to 6 liters,
How much heat transfer (in kilocalories) is required to thaw a 0.450-kg package of frozen vegetables originally at 0ºc if their heat of fusion is the same as th
Which of the following is part of a leaf? 1.Petiole 2.Axillary Bud 3.Veins 4.All Of The Above
______ are produced in growing areas, such as meristems at the tip of the shoot. 1.Auxins 2.Gibberellins 3.Cytokinins 4.None Of The Above
Identify the function for this situation.
stuck on this question. help please
What is the rule for the sequence with the first four terms below? 0.5, 0.25, 0, –0.25
Uan feels it is a waste of time to exercise because people in his family typically develop heart disease even when they are physically fit. he reasons that he c