logo CodeStepByStep logo

CSRap2

Write a complete VB program in a module named CSRap2 with a Main subroutine that prints the following cumulative song as console output. Use subroutines to capture the structure of the song and to eliminate redundancy. For example, no complete line of output should be println'd in two or more places in your code.

Hey homies, my code is gonna rock this place
With a function named main and a curly brace
I put a semicolon at the end of each line
You haters never seen code that looked so fine

Hey homies, my code is gonna rock this place
With a function named main and a curly brace
jGrasp loves my code, no need to debug
I can rap in VB until it unplug
I put a semicolon at the end of each line
You haters never seen code that looked so fine

Hey homies, my code is gonna rock this place
With a function named main and a curly brace
The first time I try, my code compiles
Lost a point for style cause my comments are vile
jGrasp loves my code, no need to debug
I can rap in VB until it unplug
I put a semicolon at the end of each line
You haters never seen code that looked so fine

Hey homies, my code is gonna rock this place
With a function named main and a curly brace
Got help from the TAs in the IPL
But I didn't need it cause I code so well
The first time I try, my code compiles
Lost a point for style cause my comments are vile
jGrasp loves my code, no need to debug
I can rap in VB until it unplug
I put a semicolon at the end of each line
You haters never seen code that looked so fine

Hey homies, my code is gonna rock this place
With a function named main and a curly brace
I got full credit on external correctness
Hey playa check this, my code eats yours for breakfast
Got help from the TAs in the IPL
But I didn't need it cause I code so well
The first time I try, my code compiles
Lost a point for style cause my comments are vile
jGrasp loves my code, no need to debug
I can rap in VB until it unplug
I put a semicolon at the end of each line
You haters never seen code that looked so fine
Function: Write a VB 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.