Forum: C++ Dec 10th, 2008 |
| Replies: 7 Views: 465 Yes I am supposed to print the second set, so should I remove the for loop from outputData() as well? |
Forum: C++ Dec 10th, 2008 |
| Replies: 7 Views: 465 This is going to sound stupid, but what kind of loop a for loop? I am not sure about how I am supposed to be doing this, and I know I need to do my own homework, and I am definitely trying to do it. |
Forum: C++ Dec 10th, 2008 |
| Replies: 7 Views: 465 [quote](B) Logic Errors
What is the for(int j=0;j<3;j++) line for in inputData().
It just asks the same three questions 3 times.
See above just use tpennies = tp; etc
[QUOTE] The assignment... |
Forum: C++ Dec 10th, 2008 |
| Replies: 7 Views: 465 Hey guys, I am tying to get my program to work, I don't have any errors but I cant get an output from it. I am supposed to output the second set of three from the nine inputs. Thanks to those who... |
Forum: C++ Dec 8th, 2008 |
| Replies: 5 Views: 402 I thought it was wrong but I didn't know, not sure what to put. I'm sure ill figure it out eventually. |
Forum: C++ Dec 8th, 2008 |
| Replies: 5 Views: 402 Ok, now I have this am I any closer? Sorry if I misunderstood you and thanks for the reply.
#include <iostream>
using namespace std;
class TMoney
{
private:
int tdollars ;
int twons;... |
Forum: C++ Dec 8th, 2008 |
| Replies: 5 Views: 402 I am working on a program and this what I must do, Create a class based on TMoney. TMoney only contains three denominations, tdollars, twons (worth
1/5 or .2 of a dollar) and tpennies.
Create an... |