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

Young children are at a higher risk for: A. falling B. airway obstruction C. accidental poisoning D. all of these
Help me please !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
when rocks are broken down by heat and pressure, chemically weathering has taken place
Every exercise regimen should include both a warm-up and a cool down.
A neutron star that spins and emits beams of energy is called a _____. protostar red dwarf white dwarf pulsar black hole
Why did minority groups receive only limited benefits from progressivism?
My assignment was write about spring break, and nothing happend so can you give me some ideas of what to write???
How do i do this please help
You walk forward at 1.5 m/s for 8 s. Your friend decides to walk faster and starts out at 2.0 m/s for the first 4 s. Then she slows down and walks forward at 1.
A job search should be treated like a full time job. a. True b. False