Ask Question

Once the logical expression at the start of a while loop is false, the statements after the end statement are

executed.

True or False?

+2
Answers (1)
  1. 16 June, 19:01
    0
    True

    Explanation:

    the while loop is used to execute the statement again and again unti the condition is true. Once the condition is False, the program control terminate the while loop and execute the next statement after the while loop.

    for example:

    int i=0;

    while (i<5)

    {

    i++;

    }

    cout<
    one the code execute the while loop run 5 times and in the 6th times the condition become False then program control moves to print statement.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Once the logical expression at the start of a while loop is false, the statements after the end statement are executed. True or False? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers