Question: I need help with this java question please. I am not reviewing any errors so that is good but how can I take what I
6 5.29 [6 Points] ("The Twelve Days of Christmas Song) Write an application that uses repetition and avitch statement 7 to print the song "The Twelve Days of Christmas." One switch statement should be used to print the day Crirst, 8 second", and so on). A separate switch statement should be used to print the remainder of each verse. 10 public class ChristmasSong 11 t 12 13 public statie void main (Stringt] args) 14 15 16 17 19 19 20 21 int a: for (a-l: ac-12: a++) System. out.printin( "One the" switch (a) case 1: rintin( tirst System.out.p break: 23 24 25 26 27 28 29 30 case 2: System.out.printin( "second" break; case 3: System.out.printin( "third" ): break
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
