Question: Write a C + + statement that includes the header file iostream, and allows you to use cin, cout, and endl without the prefix std::

Write a C++ statement that includes the header file iostream, and allows you to use cin, cout, and endl without the prefix std::.
Write C++ statements that declare the following variables: num1, num2, num3, and average of type double.
Write C++ statements that store 75.35 into num1,-35.56 into num2, and 15.76 into num3.
Write a C++ statement that stores the average of num1, num2, and num3 as the variable average.
Write C++ statement(s) that output the values of num1, num2, num3, and average.
Follow all the steps in this activity in order. Check each task individually by clicking the "run test" button next to the each one as you complete the task.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!