Answer to Question #217264 in C++ for Abigail

Question #217264

Assuming the ocean’s level is currently rising at about 1.5 millimeters per year, write a <span style="text-decoration-line: none;">program</span> 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,
1
Expert's answer
2021-07-15T00:10:32-0400


#include <iostream>


using namespace std;


int main()
{
    float rise=1.5;
    cout<<"\nNumber of millimeters higher than the current level that the ocean’s level will be in 5 years:"<<(rise*5);
    cout<<"\nThe number of millimeters higher than the current level that the ocean’s level will be in 7 years:"<<(rise*7);
    cout<<"\nThe number of millimeters higher than the current level that the ocean’s level will be in 10 years:"<<(rise*10);
    return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS