GetDotted Domains

Viewing Thread:
"C++ Need help with code and fast/ limit on a few hours"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Wed 09/04/03 at 16:07
Regular
Posts: 787
I need someone that can write a code in C++ that can produce an output formatted as follows.
Would you like to process a payroll record. y/n?
Please enter employee ID:123
Please enter employee Name:John Doe
Please enter employee Hours:40
Please enter employee Wage:$10.00
Would youlike to process another payroll. y/n?
Please enter employee ID:124
Please enter employee Name:Jane Smith
Please enter employee Hours:45
Please enter employee Wage:$20.00
Would you like to process another payroll record. y/n?
ID Name HRS Wage Gross SOCSEC STATE FED NET
123 Doe, John 40 10.00 400.00 25.20 14.00 68.00 292.80
124 Smith, Jane 45 20.00 950.00 59.85 33.25 161.50 695.40
End of program.
Press any key to continue
Note: All of the answers after the : of each statement is manually typed in when running the program.
This is the pseudocode that was given to me to use for this project.
const double socSecRate = 0.063;
const double stateRate = 0.035;
const double federalRate = 0.17;
const int maxsize = 10;
int arrays empID, empHours;
double array empWage;
string array empName;
all of size max as well as integer i for the array index and a character response. Initialize all values o numeric arrays to zero and string array to "default".
IF ANYONE CAN WRITE THIS PLEASE EMAIL IT TO ME BY THURSDAY AT 10:00am.
I know I am asking all lot but this is a very important project it determines wether I fiish my degree or not!!!!!
Thank you to whoever helps out at all.
[email protected]
Wed 09/04/03 at 23:24
Regular
"bing bang bong"
Posts: 3,040
This is actually a really really simple program, the sort of thing you are equipped to do in your first few hours of learning programming, as it's simple text input/output and variables. The sting in the tail is that it requires the use of arrays and strings, two things that C++ will moan and b1tch until the end of time about. I would have got this done in languages like Java or Ruby in about one hour - the rest of my time has been spent solving problems that I shouldn't have to solve.
Wed 09/04/03 at 23:12
Regular
Posts: 16,558
Lol okay bit like when your learning some English literature it feels cheesy.
Wed 09/04/03 at 23:11
Regular
"Hmmm....."
Posts: 12,243
Well yeah... but ive not learnt it... so it looks all clever and geeky and genius.

Deal?
Wed 09/04/03 at 23:10
Regular
Posts: 16,558
NO quite i think once u learn it.
Wed 09/04/03 at 23:08
Regular
"Hmmm....."
Posts: 12,243
Cool... this thread looks all clever and geeky and genius and stuff.

Hurrah!
Wed 09/04/03 at 22:58
Regular
Posts: 16,558
how long you been spending on it o.O
Wed 09/04/03 at 22:55
Regular
"bing bang bong"
Posts: 3,040
Just to let you know, I'm still working on it and I'm quite close to a solution now.
Wed 09/04/03 at 22:49
Regular
Posts: 16,558
Erm yes i was shouting at them.
Wed 09/04/03 at 22:41
Regular
Posts: 31
Well a good luck to ya. You may just need it :-)
Wed 09/04/03 at 22:40
Regular
Posts: 31
Hey weren't you yelling at me earlier for dissing people or something like that. I do believe that was the case or you were yelling at the others I hope because they were the ones ridiculing me about my program. and tellin me to offer sexual favors for an answer. Sick ba*tard*

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Thank you very much for your help!
Top service for free - excellent - thank you very much for your help.
Thanks!
Thank you for dealing with this so promptly it's nice having a service provider that offers a good service, rare to find nowadays.

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.