Computer Science, asked by swastika1358, 23 days ago

Rewrite the following program using do-while:

class Test2

{

public static void main(String args[])

{

for(int i=5;i>=1;i--)

{

System.out.println(i);

}

}

}​

Answers

Answered by vallinswami
0

Answer:

import java.util.Scanner; public class Test { public static void main(String[] args) { Scanner input = new Scanner(System.in); int number, max

Similar questions