public class Indefinite { public static void main(String[] args) { int n = 10; while(n > 0) { System.out.println(n); n--; // this is the samen -= 1 } } }