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++
#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;
}


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