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

How did Newton’s work promote secularism during the Scientific Revolution? a. He used his own mathematical reasoning rather than the Church‘s teachings.
68.32 divided by 2.8
A figure of speech that compares two things without using the words "like" or "as"
Which of the following best describes the plot of "The Lottery" by Shirley Jackson? A. The village residents gather for a lottery, one family is named the winn
Read the following claim and counterclaim from a student’s argument essay: We need to spend more time in nature. We have work and other obligations which requi
Simplify: (64x^5y^9z^8)^3/7
Pre-image point N(6, -3) was dilated to point N'(2, -1). What was the scale factor used? 1/2 1/3 3 2
Which of the following statements most accurately differentiates potential and kinetic energy?
Simplify 3 square root of 5 end root minus 2 square root of 7 end root plus square root of 45 end root minus square root of 28. a.2 square root of 12 b.2 squa
What is the solution set of x^2-36=0