Menu
support@nursinghomework.org
+1 714-215-3097

(Solved) : Write Program Calculates Amount Person Would Earn 15 Day Period Salary One Penny First Day Q35570078

usejava
Write a program that calculates the amount a person would earn over a 15 day period if his/her salary is one penny for the fiWrite a program that calculates the amount a person would earn over a 15 day period if his/her salary is one penny for the first day, two pennies the second day, and continues to double eaclh day. The program should display a table similar to the one below. You should also display the total amount of money earned over that period, Use a for loop for this Day Amount Earned $0.01 $0.02 S0.04 S0.08 S0.16 S0.32 S0.64 S1.28 S2.56 S5.12 10 Page 1 of 2 Show transcribed image text Write a program that calculates the amount a person would earn over a 15 day period if his/her salary is one penny for the first day, two pennies the second day, and continues to double eaclh day. The program should display a table similar to the one below. You should also display the total amount of money earned over that period, Use a for loop for this Day Amount Earned $0.01 $0.02 S0.04 S0.08 S0.16 S0.32 S0.64 S1.28 S2.56 S5.12 10 Page 1 of 2

Leave a Reply

Your email address will not be published. Required fields are marked *