logo CodeStepByStep logo

csRap

Write a complete program that prints the following cumulative song as console output. Use functions to capture the structure of the song and to eliminate redundancy. For example, no complete line of output should be printed in two or more places in your code.

You wanna be a coder?
You better say it louder
I joined the CS party
Like "LN" and Marty

You wanna be a coder?
You better say it louder
In 142 I'm hated
Score full points when I'm graded
I joined the CS party
Like "LN" and Marty

You wanna be a coder?
You better say it louder
My indentation's right
The code looks hella tight
In 142 I'm hated
Score full points when I'm graded
I joined the CS party
Like "LN" and Marty

You wanna be a coder?
You better say it louder
You know my program's rockin
I'm master of the println
My indentation's right
The code looks hella tight
In 142 I'm hated
Score full points when I'm graded
I joined the CS party
Like "LN" and Marty

You wanna be a coder?
You better say it louder
My code it runs so well
Got help in the IPL
You know my program's rockin
I'm master of the println
My indentation's right
The code looks hella tight
In 142 I'm hated
Score full points when I'm graded
I joined the CS party
Like "LN" and Marty
Function: Write a C++ function as described, not a complete program.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.