Question

2.7: Ocean Levels Assuming the ocean’s level is currently rising at about 1.5 millimeters per year,...

2.7: Ocean Levels Assuming the ocean’s level is currently rising at about 1.5 millimeters per year, write a program that 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,

in C++

0 0
Add a comment Improve this question Transcribed image text
Answer #1
#include <iostream>
using namespace std;

int main()
{
    cout<<"The number of millimeters higher than the current level that the ocean’s level will be in 5 years is "<<(1.5*5)<<endl;
    cout<<"The number of millimeters higher than the current level that the ocean’s level will be in 7 years is "<<(1.5*7)<<endl;
    cout<<"The number of millimeters higher than the current level that the ocean’s level will be in 10 years is "<<(1.5*10)<<endl;
    return 0;
}

Add a comment
Know the answer?
Add Answer to:
2.7: Ocean Levels Assuming the ocean’s level is currently rising at about 1.5 millimeters per year,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT