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

Write a C++ Program to read 2 grades from the keyboard ( Math and Physics ) .
You have 10,600 to 10,425 find the percent decrease
did you arrange the figure in your portrait within a triangle for a pyramid configuration? Yes No
An ideal gas occupies 600 cm3 at 20c. at what temperature will it occupy 1200 cm3 if the pressure remains constant? 10c 40c 100c 313c
a = a is an example of which algebraic property (A) Symmetric property (B) transitive property (C) reflexive property (D) commutative property of multiplication
Those who were seen dancing were thought to be insane by those who could not hear the music meaning
Suppose you flip a penny and a dime. Use the following table to display all possible outcomes. If each single outcome is equally likely, you can use the table
How to find slope and y intercept 6x-5y=15?
find the domain of the function f(x)= 5x^2 +2x-1
Write an equation for a line parallel to y=-3x+2 that passes through the point (-1,4)