class WhileDemo { public static void main(String[] args) { int i = 5; do { System.out.println(i); i++; } while (i <= 10); } }