UCM Python Program Project

Description

Instructions:

You need to write one Python program per question. Each program should be written in IDLE or be IDLE compatible.

Name the program after the title of the problem.

The first three lines of each program should be a comment to include your name, date and name of the program.

Create a new folder called ch2 HW and place all your programs inside. Then zip (compress) the folder and submit the single ch2 HW zipped folder.

1.Pennies for Pay

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. 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.

2.Ocean Levels

Assuming the ocean’s level is currently rising at about 1.6 millimeters per year, create an application that displays the number of millimeters that the ocean will have risen each year for the next 25 years.

Get your college paper done by experts

Do my question How much will it cost?

Place an order in 3 easy steps. Takes less than 5 mins.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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