Offistart - Virtual Offices, Office Space, Business Support Services
*Home>>>Call Handling

DESPERATELY need help writing a program as i have no idea how to do so. PLEASE!!!?


Im taking c++ course and its been 5 weeks and still dont understand how to write codes or programs. PLEASE HELP!
here is the question:
Write a modular program which will calculate Gross Pay for an employee given the hours worked and the pay rate. The user will be prompted to enter his/her name up to 20 characters, social security number in the format ddd-dd-dddd, hours worked (60 hours max) and hourly pay rate (up to $20.00 per hours max). Hours worked and hourly pay rate must be error-handled. The gross pay will be calculated on the basis of regular pay for hours worked up to 40 hours and overtime pay ( at 1 陆 the hourly pay rate) for all hours worked above 40 hours. The output should display the employee's name; social security number; pay rate; hours worked in terms of regular hours and over-time hours; regular pay, over-time pay and total gross pay as it might appear on a pay stub. Give the user an option of running the program again for another employee.

main( ) will define all variables used to contain user input values and calculated results. These will be the only variables defined in main( ).
main( ) will call five functions as described below:
鈥?a void function to clear the screen and display the User heading,
鈥?a void function to get employee information from the user
鈥?a void function to calculate the gross pay hours and pay components
鈥?a void function to display a formatted gross pay stub
鈥?an int function to prompt the user the run the program again. This function returns a 1 or 0 value.

Nobody is going to write an entire program for you.

If you have any troubles with specific things and can't figure them out then come back and ask.

Tags
  Commercial Space   Office Space   Business Services   Business Address   Call Forwarding   Call Handling   Answering Service   Telephone Answering   Mail Forwarding   Virtual Address   Virtual Assistant   Virtual Business
Related information
  • I am furious with teacher- daughter wet herself?

    If she had to go that bad then she should have said something or just gone. As of the last that I knew it was illegal to refuse a restroom in school. That was in Las Vegas, I was last in school in ...

  • What should I do!?

    You are definitely NOT wrong for leaving him. In fact, I would get out as fast as I could and would NEVER look back. What a hard life you will have if you stay with this controlling person.

    ...
  • When should we trade in our car, that has a high yield interest rate?

    Why would you trade in a good car that you still own money on? 6.9% is a good rate in the U.S. Keep the car and pay off the loan.

    ...
  • My friend killed himself, I feel so guilty...?

    First I just want to give you my condolences. You are definitly not at fault...It did not matter what you would have said to him,he still would have done it..It's an illness that won him. ...

  • Grandma who eats junk?

    You would expect this Grandma to know better especially if she is diabetic. Its not fair that they are taking no notice of you. You have every right to give your Son a healthy start and they shou...

  • MY FIRST EVER INTERVIEW! need help!?

    I will call you Alphonse this time, OK? But first, I will not give you a "break the ice" answer, which is actually easy by being honest and being "yourself" for three reasons: ...

  • Calling all men, how would you react and feel if this happend to you?

    you should be ashamed at taking advantage of someone while they are drunk. I can condone your actions. Something my grandpa always says "thrill before the chill" , "it may be fun rig...

  • I need tips as to getting my suspension lifted from my poker club,?

    CHEATING !!!!!!!!!!! LIVE WITH YOUR PUNISHMENT YOU DESERVE TO BE PUNISHED SO LIVE WITH BEING SUSPENDED YOU KILL JOY !!!!!!!!!!!!!!!!!!!

    ...
  •  

    Categories--Copyright/IP Policy--Contact Webmaster