Write a program that uses a while loop to print out the numbers from one to twenty. Challenge: print them out separated by commas, but be careful to not add an extra comma at the end.
class Main { public static void main(String args[]) { int x = 0; while (x < 20) { x++; System.out.println(x); } } }