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

In Bear Creek Bay in July, high tide is at 1:00 pm. The water level at high tide is 7 feet at high tide and 1 foot at low tide. Assuming the next high tide is e
what is another name for pi in Germany?
In which one of these sentences does an adverb modify a verb? A. The dress was terribly old. B. Jacob was a very smart boy. C. Mr. Dodge moved in an extremely s
Which of the following causes is not considered a political disruption to food distribution? A. war B. sanctions C. refugees D. droughts
The United States Highway System is a _____________ in the United States numbered within a nationwide grid.
__________________ kills many disease-causing bacteria that may have been ingested. A. Pepsin B. Bile C. Gastrin D. Hydrochloric acid
There are many freshwater and saltwater areas in the everglades. What is the simple subject?
why did the colonies and Britain fail to achieve a compromise to avert hostilities?
Participating in physical activity can help to reduce stress in all of the following ways EXCEPT: A. it releases stored energy B. it causes fatigue and exhausti
Steve lives in a country which claims to have been the first to adopt Christianity as a state religion. In which country does Steve live?