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 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.

asked by Morgan

Respond to this Question

First Name

Your Response

Similar Questions

  1. 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.
  2. 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.
  3. 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
  4. 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
  5. 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? Ok--I know to double the answer each time until 30--which would
  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
  7. math

    yan gets allowance money every day. On Monday he gets 5 cents. On Tuesday he gets 12 cents. On Wednesday he gets 19 cents. On Thursday he gets 30 cents. On Friday he gets 35 cents. How much will he get on Saturday? How much will
  8. 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
  9. 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
  10. 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

More Similar Questions