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 22:39
Regular
Posts: 16,558
Heh i'll give it a go.
Wed 09/04/03 at 22:37
Regular
Posts: 31
I hope that was a sarcastic joke because if you can't tell it is one of the hardest things that I have ever had to learn to do. I am a very smart girl but when it comes to this I am a complete idiot :| Yuck
Wed 09/04/03 at 22:31
Regular
Posts: 16,558
Heh i might try learning C++ at home since i have so much time but hopefully its not hair tearing o.O
Wed 09/04/03 at 22:30
Regular
Posts: 31
Not completly just arrays and structs together kinda mess with me, and make my basics look all F**ked up :|
Wed 09/04/03 at 22:29
Regular
Posts: 31
Hey thanks all lot for just responding. I again appreciate any help I can get
Wed 09/04/03 at 22:29
Regular
"Picking a winner!"
Posts: 8,502
Like the basics??

:-)
Wed 09/04/03 at 22:27
Regular
Posts: 31
I am a web design and graphics major. It is a make up from a while back. And, I have kinda forgotten a few things about the language
Wed 09/04/03 at 20:44
"...Unicef pennies.."
Posts: 639
by 10pm? that's a peculiar handin time.

What degree are you studying?
Wed 09/04/03 at 19:36
Regular
"Picking a winner!"
Posts: 8,502
While I don't have the time to go through and write it all I will offer you this....

http://www.albany.edu/acc/courses/fall96/acc681/cpp6.html

something similar which might offer you some assistance for you to take ideas and compare with what you are doing.

Search the web better and I am sure you will easily find other examples that will let you complete what you have to do.
Wed 09/04/03 at 19:29
Regular
Posts: 31
I am still trying this sh** it is a complete fu**ing nightmare

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Excellent
Excellent communication, polite and courteous staff - I was dealt with professionally. 10/10
Just a quick note to say thanks for a very good service ... in fact excellent service..
I am very happy with your customer service and speed and quality of my broadband connection .. keep up the good work . and a good new year to all of you at freeola.
Matthew Bradley

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.