Ask Question
22 September, 02:12

The body of a while ( ...) { ... } loop will always executes atleast once, no matter what test condition is stated.

Select one:

a. TRUE

b. FALSE

+1
Answers (1)
  1. 22 September, 03:13
    0
    The correct answer for the given question is false.

    Explanation:

    In the while loop if the condition is true then it executes the loop otherwise not so it is entry control loop.

    syntax:

    while (condition)

    {

    / / statement

    / / increment and decrement

    }

    For example

    int i=1;

    while (i<=5)

    {

    cout<<"hello";

    i++;

    }

    In this example variable i is initialized by 1 1<=5 which is true it execute the statement and print hello after that increment the value of i = i+1 so i=2 i<=5 which is again true and print hello this will continue untill the condition in while loop is false when condition is false it terminate the loop.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “The body of a while ( ...) { ... } loop will always executes atleast once, no matter what test condition is stated. Select one: a. TRUE b. ...” 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