# A student had to make a decision on how to be paid

A student had to make a decision on how to be paid. The student could accept a straight \$10/hour or take 10 cents for the first hour, but have the hourly wage double each hour. That is, the student would make \$.10 for the first hour, .20 for the second hour, .40 for the third hour etc.

The doubling effect makes the wage grow pretty fast, so if you were planning on working for very many hours, the second option is the best. However if you are only working a few hours the \$10/hour adds up fastest.

1) calculate the \$10/hr earnings for a user specified number of hours, 2) calculate the earnings for a given number of hours if you chose the \$.10 /hour that doubles each hour or 3) Exit.

Assume that for either method you only get paid for whole hours worked.

In other words, don’t calculate wages for 10.5 hours, only whole hours count.

Your program should continue to run until the user enters an option 3.

Create a menu of choices as shown below, and take input from the keyboard where required.

A sample output is shown below:

*******************************************************

*******************************************************

1) Calculate earnings at \$10.00/hr

2) Calculate earnings at \$.10 doubled each hour

3) Exit

*******************************************************

How many hours? 10

You will earn \$100.00

How many hours? 10

You will earn \$102.30

NOTE: Here are the answers in total earnings:

hour: method 1 method2

1 \$10 \$.10

2 \$20 \$.30 (.10 for 1st hr + .20 for 2nd hr)

3 \$30 \$.70 (.10 for 1st hr + .20 for 2nd hr + .40 for 3rd hr)

4 \$40 \$1.50 (+.80 for 4th hr)

5 \$50 \$3.10 (+1.60 for 5th hr)

6 \$60 \$6.30 (+3.20 for 6th hr)

etc…

2) Write a program that will determine the number of hours required before the second method becomes more beneficial than the straight \$10/hr (first method). There will be no input to this question

Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

# Our guarantees

We value our customers and so we ensure that what we do is 100% original..
With us you are guaranteed of quality work done by our qualified experts.Your information and everything that you do with us is kept completely confidential.

### Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

### Zero-plagiarism guarantee

The Product ordered is guaranteed to be original. Orders are checked by the most advanced anti-plagiarism software in the market to assure that the Product is 100% original. The Company has a zero tolerance policy for plagiarism.

### Free-revision policy

The Free Revision policy is a courtesy service that the Company provides to help ensure Customer’s total satisfaction with the completed Order. To receive free revision the Company requires that the Customer provide the request within fourteen (14) days from the first completion date and within a period of thirty (30) days for dissertations.

The Company is committed to protect the privacy of the Customer and it will never resell or share any of Customer’s personal information, including credit card data, with any third party. All the online transactions are processed through the secure and reliable online payment systems.

### Fair-cooperation guarantee

By placing an order with us, you agree to the service we provide. We will endear to do all that it takes to deliver a comprehensive paper as per your requirements. We also count on your cooperation to ensure that we deliver on this mandate.

## Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
\$26
The price is based on these factors: