Show Code
public class Main { public static void main(String[] args) { int n = 1; while (n <= 10) { System.out.printf("%1$s ", n); n++; } } }