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
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