Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+11 votes
asked in old_CSC201 by (8 points)

1 Answer

+2 votes

My code for computeBill was less than 20 lines of code, but if yours is longer than you'll either need to "refactor" it to be more efficient or have it call some functions. For example, the code that is computing the bill for code of W could be put in a method called by computeBill and then the bill for the weekly option returned to computeBill.

answered by (8 points)
...