193,839 views
28 votes
28 votes
How do l write a program which countdown from 10 to 3​

User Chris Johnston
by
2.5k points

1 Answer

14 votes
14 votes

Answer:

use loop

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

{

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

}

User NVG
by
2.8k points