Ask Question
28 April, 04:30

What is this line of code doing? scanf ("%f", & height);

+1
Answers (1)
  1. 28 April, 07:55
    0
    It's saving a float value in your variable "height".

    for example:

    float height = 0.0;

    printf ("Insert your height: ");

    scanf ("%f", &height);
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What is this line of code doing? scanf ("%f", & height); ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers