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

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

LANGUAGE: C++

CHALLENGE:

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 .)

SOLUTION:



circumference = diameter * 3.14159;

Add comment