- Apr 28, 2006
- 4,258
- 0
- 0
I can't get this damn program to work correctly. It's a past due, by a few hours, homework assignment for intro C++. The theme is do/while and while statements. Nothing advanced. The program itself should be simple but it doesn't work correctly. Please help.
By the way, I included in the end while statement a line of code:
cout << q << endl;
This is for debugging so I can see program output at each step. It will not be part of the final code.
Source
Edit: Moved source to pastebin. Problem solved.
By the way, I included in the end while statement a line of code:
cout << q << endl;
This is for debugging so I can see program output at each step. It will not be part of the final code.
Source
Edit: Moved source to pastebin. Problem solved.