2023 You are to write a program that calculates the amount of money a person would | Assignment Collections
Computer Science 2023 Program
2023 You are to write a program that calculates the amount of money a person would | Assignment Collections
You are to 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 penny the first day, two pennies the second day, and continues to double each day. The program should ask the user for the number of days worked.
Display a table showing what the salary was for each day, then show the total pay at the end of the period. The output should be displayed in a dollar amount, not the number of pennies.
Additional Program Requirements:
You are to use a function to output the standard header information
You are to use a program loop to calculate and print out the amount of pennies, and accumulate a total amount of earnings. (recommend a for loop)
You are to use a function to display the final amount of earnings in dollars. This function will be passed the number of days worked, and the accumulated total pennies earned.
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.