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 is the division property of equality
What did the New Nationalism program support?
Can someone smart help me with this plz:)
Problem B: Let an be the number of of ways to lay out a walkway of n tiles, with slate tiles if the tiles are red, green, black or grey, so that no two red tile
Bus Stop: Seth is comparing scenarios to determine which starting point he should get dropped off at to get him to school faster. Seth's house is 17 miles from
Which of the following types of angles are congruent? Corresponding Alternate Interior Vertical All of the above
En el disco duro de mi PC (que es de 500 Gigabytes de espacio útil total), tengo ocupado un 50% de ese espacio. ¿Cuantos juegos pesados como el Call of Duty Gho
which statement is always true? a) the product of two irrational numbers is irrational b) the product of two rational numbers rational c) the sum of two rationa
Why is entrepreneurship important to the health of an economy? A Entrepreneurs provide new job opportunities. B Only a few people have the drive to become entre
Which type of rock is created when lava cools and hardens? A. igneous B. cement C. metamorphic D. sedimentary​