Question: Written in JAVA: 6. Mr. Thomas has negotiated a salary schedule for his new job. He will be paid one cent the first day, with
Written in JAVA:
6. Mr. Thomas has negotiated a salary schedule for his new job. He will be paid one cent the first day, with the daily rate doubling each day. Write a program that will find his total earnings for 30 days. Inputs should be the starting daily rate, the growth factor (2 double, etc.), and the total days in the period. Print your results in a table set up as follows: Total Earned .01 .03 Day Number Daily Salary .01 02 30
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
