Ask Question
2 August, 18:29

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

Select one:

a. TRUE

b. FALSE

+2
Answers (1)
  1. 2 August, 20:22
    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?
Get 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 & 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