Find Us On: Facebook Twitter Rss Feed Blog
Need To Register? Sign Up Login

Write a program to print the lyrics for the song “This Old Man”.

BunkerHillBroad
BunkerHillBroad 


Write a program to print the lyrics for the song “This Old Man”. This old man, he played 1. He played nick-nack on my drum; With a nick-nack paddy-whack, give the dog a bone, This old man came running home. This old man, he played 2. He played nick-nack on my shoe; With a nick-nack paddy-whack, give the dog a bone, This old man came running home. ... ... Use the same parameter-passing technique demonstrated in lecture for the “Marching Ants” song. The remaining verses are 3— on my tree 5— on my hive 7— up in heaven 9— on my spine 4— on my door 6— on my sticks 8— on my gate 10— on my hen Attachments
Tags Clarifications

Answers

Lyric solution

mariobeka
mariobeka 



The java program is implemented as asked. Attachments
Lyrics.java (1 K) Download Preview
String lyric(int verse) { switch (verse) { case 1: return "on my drum"; case 2: return "on my shoe"; case 3: return "on my tree"; case 4: return "on my door"; case 5: return "on my hive"; case

Screenshots
Purchase Answer