Question: ( penny ) Write a program to calculate a person's salary calculated in this manner. The person will be paid 1 penny on the first
penny Write a program to calculate a person's salary calculated in this manner. The person will be paid penny on the first day or $ The pay will be doubled for every day worked. For example, pay will be doubled to pennies on the second day for a total pay of $ The program should accept the number of days worked as input and output the total pay in dollars with two decimal places. points correct use of loop points correct output points correct output format
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
