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

What did the term "doughboy" refer to in World War I?
What event led to the establishment of the monroe doctrine?
Help me to answer questions
expanded notoation 99,509
A patient who has an upper respiratory infection reports using over-the-counter cold preparations. the primary care np should counsel this patient to use cautio
A cancer in which the cells become gelatinous is called
A compound composed of only hydrogen and oxygen is 5.94% hydrogen by mass. the molar mass of this compound is 34.02 g/mol. what is the compound's molecular form
Predict the formula of the chemical combination of the following elements. strontium and bromine
how have tectonic forces have influenced landscapes in Canada.
In Beverly Hills, two Hollywood actors own houses that are 6 kilometers apart. How far apart are the actors' houses on a map with a scale of 1 centimeter = 1 ki