Computer Science, asked by dharmaveerasari, 5 months ago

Rewrite the following program using do...while loop
public static void main()
{
int i, j;
for(i=5;i>=1;i--)
{
System.out.print(i);
}
}​

Answers

Answered by chandasonkar291
0

Explanation:

hdudveuehveueh3v3uj3i2h3

Answered by chordiasahil24
3

Explanation:

the objective output is

5

4

3

2

1

let's rewrite using do while

int i=5:

do

{

system.out.println(i);

i--;

}

while(i>=1);

you can ignore ln if u want to coz it's not there in the given question

Similar questions