public class WhileCount { public static void main(String[] args) { int number = 1; while(number < 6 ) { System.out.println(number); number++; } } }