I have written a solution to the following assignment but I wont get any output.
I used System.out.println randomly to see where my program stops and I figured out it is righ after the while...