No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am trying to print out a report for a 12 month interest summary. So far, I cannot seem to get the ending balance for the previous month to be the starting balance for the next month. Here is the code I have so far: #include <iostream> #include <string> #include … |
|
Re:
I am trying to set up a 12 month table summary in a bank account program. The problem I have is I am trying to figure out how to set it up correctly. Here is my class and application from the bank account: Here's the class part: [CODE]class SavingsAccount { … |
|
In my function definitions under apply_discount, when I enter a 1 or 2 for the discountQues to see if the customer has a coupon, the program thinks I'm entering a ticket type (1=toddler, 2=junior, 3=senior). Can you tell me what I'm doing wrong? I already tried making discountQues a global … |
|
I have am either missing a brace or have an extra brace somewhere. This code is also incomplete as I'm still working on the program. The "else" error is a squiggly red line underneath the "else" for the customer does not have a discount coupon. Thanks! #include <iostream> #include <string> … |
|
I am having trouble getting MS Visual C++ to recognize my input for the 2nd getline I have listed. It already recognizes getline(cin, firstName) and allows for input, but won't recognize the second instance of getline. When the program gets to that line of output, it bunches the next two … |