Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Write a statement to multiply diameter by 3.14159 and assign the result to ci

ID: 3627088 • Letter: 1

Question

1. Write a statement to multiply diameter by 3.14159 and assign the result to circumference. (The variables have already been declared and diameter has already been initialized.)





2. 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 year
Output labels: Each value should be on a line by itself, preceded by the a label of the form:
        In X years the ocean's level be higher by Y millimeters.
where X is the number of years (5, 7 or 10) and Y is the value you calculate.



Any tips or advice will be extremely helpful!! Thanks

Explanation / Answer

please rate - thanks

1. Write a statement to multiply diameter by 3.14159 and assign the result to circumference. (The variables have already been declared and diameter has already been initialized.)

circumference=diameter*3.14159;



2. 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 year
Output labels: Each value should be on a line by itself, preceded by the a label of the form:
        In X years the ocean's level be higher by Y millimeters.
where X is the number of years (5, 7 or 10) and Y is the value you calculate.

hope this is what you need, if not message me

#include <iostream>
using namespace std;
int main()
{cout<<" In 5 years the ocean's level be higher by "<<5*1.5<<" millimeters. ";
cout<<" In 7 years the ocean's level be higher by "<<7*1.5<<" millimeters. ";
cout<<" In 10 years the ocean's level be higher by "<<10*1.5<<" millimeters. ";
system("pause");
return 0;
}