Write a program that produces as output the words of the following silly song. Use methods for each verse and for repeated text. Here are the song’s complete lyrics:
I once wrote a program that wouldn't compileI don't know why it wouldn't compile,My TA just smiled.
My program did nothingSo I started typing.I added System.out.println("I <3 coding"),I don't know why it wouldn't compile,My TA just smiled."Parse error," cried the compilerLuckily I'm such a code baller.I added a backslash to escape the quotes,I added System.out.println("I <3 coding"),I don't know why it wouldn't compile,My TA just smiled.Now the compiler wanted an identifierAnd I thought the situation was getting dire.I added a main method with its String [ ] args,I added a backslash to escape the quotes,I added System.out.println("I <3 coding"),I don't know why it wouldn't compile,My TA just smiled.Java complained it expected an enumBoy, these computers really are dumb!I added a public class and called it Scum,I added a main method with its String [ ] args,I added a backslash to escape the quotes,I added System.out.println("I <3 coding"),I don't know why it wouldn't compile,My TA just smiled.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.