fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. short MilPerYear = 1.5;
  6. cout <<MilPerYear*5<<" millimeters higher than the current level that the ocean's level will be in 5 years\n";
  7. cout <<MilPerYear*7<<" millimeters higher than the current level that the ocean's level will be in 7 years\n";
  8. cout <<MilPerYear*10<<" millimeters higher than the current level that the ocean's level will be in 10 years";
  9. return 0;
  10. }
Success #stdin #stdout 0s 5324KB
stdin
Standard input is empty
stdout
5 millimeters higher than the current level that the ocean's level will be in 5 years
7 millimeters higher than the current level that the ocean's level will be in 7 years
10 millimeters higher than the current level that the ocean's level will be in 10 years