# computer programming

posted by Morgan

Create a Raptor Flowchart that calculates the amount a person would earn over a period
of time if his or her salary were five cents the first day, ten cents the second day, and so
on doubling each day.
1. Request the number of days.
2. Display a table showing what the salary is for each day
3. Display the total pay

Sample Output (inputs in bold)
Please enter the number of days you will be working? 5
Day Pay
===============
1 0.01000
2 0.02000
3 0.04000
4 0.08000
5 0.16000
Your total pay is 0.310000

MY QUESTION: I am having trouble finding a math equation that will double the pay for each day. I fiqured out how to get the sum and list the days but I just can't find a math formlua that will calculate the pay so that it will double each day; please help.

## Similar Questions

1. ### Math

A goblin miner earns 1 cent the first day, 2 cents the second day, 4 cents the third day, 8 cents the fourth day. How much will the miner earn in 30 days?
2. ### Computer Programming

I must write a program using Java that calculates the amount a person would earn over a period of time if his or her salary is one penny the first day, two pennies the second day, and continues to double each day. The program should …
3. ### programming

I have been stuck on this problem in my software design class and I hate going in these places and looking stupid but my professor had a family emergency and my homework is due tomorrow night. Design a program in pseudocode that calculates …
4. ### Programming

Design a program in pseudocode that calculates the amount of money a person would earn over a period of time if their salary is one penny the first day, and then doubles each day. The program should ask the user for the number of days. …
5. ### Programming

Design a program in pseudocode that calculates the amount of money a person would earn over a period of time if their salary is one penny the first day, and then doubles each day. The program should ask the user for the number of days. …
6. ### Programming

Design a program in pseudocode that calculates the amount of money a person would earn over a period of time if their salary is one penny the first day, and then doubles each day. The program should ask the user for the number of days. …
7. ### math !!!! :O

Emily’s dad pays her for picking strawberries. Each hour she works he increases her pay. The first hour she earns two cents, the second hour she earns four cents, the third hour eight cents, and so on, doubling the amount each hour. …
8. ### Computer Science

Create a Raptor Flowchart that calculates the amount a person would earn over a period of time if his or her salary were five cents the first day, ten cents the second day, and so on doubling each day. Your program should: 1. Request …
9. ### Math

Create a Raptor Flowchart that calculates the amount a person would earn over a period of time if his or her salary were five cents the first day, ten cents the second day, and so on doubling each day. Your program should: 1. Request …
10. ### math

calculate the amount a person would earn over a period of time if his or her salary were a penny the first day, two cents the second day, and so on doubling each day. Day Pay =============== 1 0.01000 2 0.02000 3 0.04000 4 0.08000 …

More Similar Questions