Input
Output
public class While { public static void main(String []args) { int i=1; while(i<=5){ System.out.println("Print the number " + i ); i++; } } }