Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions