Ask Question
4 September, 09:03

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

+5
Answers (1)
  1. 4 September, 11:00
    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?
Find an answer to your question ✅ “What is this line of code doing? scanf ("%f", & height); ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers