The_________ is used to perform certain operations for a fixed number of times.
1) IF...ELSE
2) WHILE LOOP
3) NESTED IF...ELSE
4) NONE OF THESE
Answers
Answer:
second option is rightttttttt
The while loop (option 2) is used to perform certain operations for a fixed number of times.
Explanation:
If...else and nested if... else are decision control statements. Their body just gets executed for one time if and only if the condition mentioned becomes true.
'While' is a repetitive or iterative statement that keeps on performing the task for a fixed number of times, where the fixed number of times is mentioned in the format of a conditional expression. Till the condition keeps on running as true, the task keeps on getting executed.
Learn more:
1. Rewrite the program using for loop:(3) int i=1; int d=5; do { d=d*2; System.out.println(d); i=i -1 ; } while(i<=5);
https://brainly.in/question/18830730
2. Write a program in Java to generate the following pattern using nested loops...
https://brainly.in/question/18819254