package Demo;public class loop { public static void main(String[] args){ int x = 10; while (x<20){ System.out.println(x); x++; } do{ x++; }while (x<20); }}