Hi everyone. I tried posting this yesterday but I copied and pasted the wrong thing. First off I am sorry that this code is no where near beautiful. I am a new cs student who is just trying to survive intro comp sci and comp sci 2. My question is how can i get the account number the user has entered appear first in the output?
For example I would like the program to output:
The Account Number.
The Service Type. (Premium or Regular)
The total number of minutes used.
and the amount of money due.
So far it does everything with the exception of outputting the Account Number. If someone could show me what I am doing wrong I would appreciate it.
Just pass the account number to the regular() and premium() functions as an argument.
By the way, I think you might need to look at your logic in the premium() function. The third and fourth blocks of code are only entered if minDay == 75. Is that what you want? And if minDay == 75 and minNight == 100, none of the blocks of code are exercised. Is that what you want?