Math
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.
Your program should:
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.
Respond to this Question
Similar Questions

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? 
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 … 
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 … 
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. … 
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. … 
math
Imagine that I am hiring you to work for me for the next month (30 days). Would you rather have $10,000 in a single payment on the 30th day? 
math
On first day you receive 1 cent on the second day 2 cents on the third day you get 4 cents and so on for 28 days. How much would you expect to receive on the last day of the month ? 
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 … 
computer programming
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 … 
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 …