Write the coding using python syntax for the following progr…
Write the coding using python syntax for the following programming problem: (NOTE: this question will be manually graded and will not be automatically graded with questions 1-31) ========================================================================================= For this program, DO NOT use ANY FORMATTING tools in your PRINT STATEMENTS!! ============================================== In the textbook provided, Write a program that calculates the amount of money a person would earn over a period of time if his or her salary is one DOLLAR the first day, two pennies the second day, and continues to double each day. ** This means that EACH DAY.. his/her salary will DOUBLE **** ======================================== This will require that you use a “for in range” statement !! ========================================= The program should ask the user for the number of days that the person will earn this money. (Hint: The program will only ask this ONE TIME) ================ As each day is being processed… The program will A. DETERMINE/ CALCULATE the salary as it is recalculated or doubled from the previous day B. DETERMINE/CALCULATE the total salary pay as it is accumulated from day to day C. DISPLAY/ PRINT: *. what the salary was for each day, *. then show the total salary pay that resulting in each day’s accumulation. *********************************************************** After all DAYS have been processed, the program will * DETERMINE/ CALCULATE the AVERAGE SALARY by dividing the total salary pay by the number of days. display the *.The output should include: the number of days, total salary pay and the average salary ======================================== ============================================================================
Read Details