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

PLEASE HELP ME???? Which of the following is a personal benefit of earning a college degree? A. You have a longer life expectancy. B. You have more friends.
In the following reaction, which element is oxidized and which is reduced?
1. What type of set-back can occur because of exercise? failure to meet a goal overuse injuries exercise breaks illness 2. When do you need to rehabilitate a pa
Johanna's grandmother gives her $8,000 to pay for the entire first year's tuition at a state college, a year from now. johanna puts the money into her checking
The first large and well organized attempt to promote women's rights came in 1848 in
What are the products of a neutralization reaction?
The key numbers of a rational expression are its ________________
Write an equation of the line that passes through the given points. (-2,8) and (1,2) (Write answer in slope-intercept form.)
What is biological oxygen demand
What food group deficiency causes kwashiorkor?? I’ll give 15points