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

Find the sample standard deviation with the data 0.62, 1.05, 0.58, 1.17, 1.04, 1.37, 1.32, 0.67, 1.25 1.38, 0.86
Given that Line segment B C is parallel to line segment E F which theorem or postulate proves ΔBCD =ΔFED
The side of a square is 2 and 7/2 inches. Use the area formula A=s2 to determine the area of the square. 1. A= 196 square inches 2. A= 128 square inches 3. A=
What is the rationale behind having workplace laws that apply only to teens? a.Teens have higher risk. b.Education should occur at a young age. c.Teens have
the graph shows the function f(x)=2^x. what is the value of x when f(x)=8?
mi abuela me pide que le llevo pan. incorrecto o correcto
Write the equations after translating the graph of y = | 1 2 x−2|+3 one unit to the left,
What is the daughter nucleus (nuclide) produced when 227th undergoes alpha decay?
Plzzzz help don’t understand this question plz explain
If no digit may be used more than once, how many 5-digit numbers can be formed using only the digits 3, 8, 1, 2, 5, and 7?