- Generate a number between 0 and 10 and using switch statement do the following:
- If it's 1 print "One is the loneliest number that you'll ever do"
- If it's 2 print "Two can be as bad as one. It's the loneliest number since the number one"
- For any other number print "Sorry, no mention of the number in the song"
Click here to view the solution.