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
#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;
}
Comments
Leave a comment