159k views
0 votes
How do l write a program which countdown from 10 to 3​

User Dorice
by
2.9k points

1 Answer

2 votes

Answer:

use loop

for(int i =10;i>2; i--)

{

System.out.println(i+"\\")

}

User Chinyere
by
3.0k points