Question: Chapter 2 : Programming Project 1 3 tries left Assuming the ocean's level is currently rising at about 1 . 5 millimeters per year, write

Chapter 2: Programming Project 1
3 tries left
Assuming the ocean's level is currently rising at about 1.5 millimeters per year, write a program that calculates and displays:
The number of millimeters higher than the current level that the ocean's level will be in 5 years
The number of millimeters higher than the current level that the ocean's level will be in 7 years
The number of millimeters higher than the current level that the ocean's level will be in 10 years
The following sample run shows the output of the program. Notice the wording of the messages and the placement of spaces and punctuation. The darr symbols show where newline characters ("???") should be displayed. Your program's output must match this.
Sample Run
In 5 years the ocean's level will be higher by 7.5 millimeters.
In 7 years the ocean's level ill be higher by 10.5 millimeters.
In 10 years the ocean's level will be higher by 15 millimeters.
 Chapter 2: Programming Project 1 3 tries left Assuming the ocean's

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!