Computer Science, asked by amritjordh, 1 year ago

How to end of the working of while loop?

Answers

Answered by shivamraikuni
1
you can fixed his criteria to stop loop.
Answered by Madhu123mri
0

An example of while loop:

while(n>0)

{

c=a+b;

System.out.println("Sum= "+c)

}

it ends with a curly bracket and starts with a condition.

hope it helps :)

Similar questions