Computer Programming
posted by Chad .
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 display a table showing the salary for each day, and then show the total pay at the end of the period. The output should be displayed in dollar amount.

I don't know how to do computer programming, but his/her salary for the 20th day would be $5,242.88.
Respond to this Question
Similar Questions

math problem
If I say I will give you a penny on the first day, 2 pennies on the second day, 4 pennies on the third day, and I just keep doubling and do this for a month, How much money would you have at the end of the month? 
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. … 
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. … 
algebra 2
if someone offers to pay you 1 penny on the first day, 2 pennies on the second day, 4 pennies on the third day, 8 pennies on the fourth day, 16 pennies on the fifth day ad so on. What is the first day on which your pay would be at … 
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
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 …