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 17:18
Regular
Posts: 31
I need it done for a final that I had. My professor asked me to addon to it for extra credit and I am a poor college student trying to get my degree in the ISCP department for web design and graphics this is not my bag. If you get my drift I am creative not a programmer. I don't think that I a smart enough to code stuff all day I would be in the loon bin.
Wed 09/04/03 at 17:14
Regular
Posts: 3,893
elleinad wrote:
> No I am American/Greek/ German/ Polish/ Indian/ French/ Chec

I love the Checs
Wed 09/04/03 at 17:12
Posts: 15,443
Why don't you type in everything you've done so far, including the stuff that doesn't work, and some of us might be able to help. Failing that, just copy code from some sites.
Wed 09/04/03 at 17:07
"Darth Vader 3442321"
Posts: 4,031
elleinad wrote:
> Why don't you do yourself a sexual favor from your tone it sounds as
> if you need one!!!!!!
>
> Lacking of therefore

*fap fap fap fap fap*
Wed 09/04/03 at 17:06
Regular
"Picking a winner!"
Posts: 8,502
Can I just ask why you need it done?
If it is part of your course then surely you should have been taught the basics to get it done?

What kind of degree you doing?

Also does it have to be done in C++?

How much you willing to pay one of us to do it for you then? :-)
Wed 09/04/03 at 17:05
Regular
"Pouch Ape"
Posts: 14,499
Don't you use INPUT commands to assign to variables?
Wed 09/04/03 at 17:03
Regular
Posts: 31
#include
#include
#include
using namespace std;

int main()

{
string empName;
int empID, empHours, y;
double empWage;
const double socSecRate=0.063;
const double stateRate=0.035;
const double federalRate=0.17;
const int maxsize=10;


cout<<"Would you like to process a payroll record. y/n?";
cin>>y;
cout< cout<<"Please enter employee ID:";
cin>>empID;
cout< cout<<"Please enter employee Name:";
cin>>empName;
cout< cout<<"Please enter employee Hours:";
cin>>empHours;
cout< cout<<"Please enter employee Wage:";
cin>>empWage;
cout<
return 0;
}

The rest is on paper it is the cin that I am having problems with
Wed 09/04/03 at 17:00
Regular
"Pouch Ape"
Posts: 14,499
Post what you've done so far.
Wed 09/04/03 at 16:57
Regular
Posts: 31
Thank you monkey_man I have twenty books on C++ and none of them are helping I hve till 10pm so I am trying to get as much help or pointers as possible by then. This needs to be perfect. :(
Wed 09/04/03 at 16:55
Regular
Posts: 31
I have tried it in viual basic and itisn't running correctly for some reason and there are no errors what so ever in the program

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Very pleased
Very pleased with the help given by your staff. They explained technical details in an easy way and were patient when providing information to a non expert like me.
Top-notch internet service
Excellent internet service and customer service. Top-notch in replying to my comments.
Duncan

View More Reviews

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

Go to Support Centre

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.