-
August 29th, 2011, 09:30 PM
#1
Basic Input/Output help
im relatively new to C++ programming and have begun my first few steps into it these past few weeks but have hit a few speed bumps. i've just recently gotten out of the marine corps so im a bit of a slow learner, and in my Programming class im taking at college im a little behind the power curve; so can anyone help me with this assignment?
"This program will obtain from the user the user’s full name, current annual salary and a percent
increase due on that salary. Assume that the new pay rate should have been in effect on
January 1, and it is now July 1 (6 months later). Calculate, store, and output the new annual
salary, the new monthly salary, and the retroactive pay due. Retroactive pay is the difference
between what they should have received had they gotten their raise on Jan. 1 and what they
did receive. This program should run 3 times using the appropriate loop. At the end of each
iteration of the loop the cursor should wait until the user presses the enter key before it loops.
In other words, it should not just output the words “<Press enter to continue>”, but the
program should wait for the user to press enter before it continues."
any help would be greatly appreciated.
-
August 29th, 2011, 10:51 PM
#2
Re: Basic Input/Output help
What have you tried to do? Most people here won't help unless you have shown you have put in some effort.
-
August 29th, 2011, 11:29 PM
#3
Re: Basic Input/Output help
not much yet. I hacked together some lines of code that I thought should have worked, and the program im running "eclipse", kept coming up with the error "username" undeclared. I had the libraries iomanip and iostream. im really looking for any help at this point; i have 54 study hours a week, and only 6 of them are for programming. if nobody wants to help, i understand. i was just hoping somebody would have some spare time to give advice
-
August 30th, 2011, 02:39 AM
#4
Re: Basic Input/Output help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|