Question: a . Write a C + + statement that includes the header flle iostream c . Write C + + statement ( s ) that

a. Write a C++ statement that includes the header flle iostream
c. Write C++ statement(s) that declare the following varlables: num 1, num 2, num3, and ave eagit= of type int.
d. Write C++ statements that store 125 into num, 2 into rum 2 and -25 into num 3 :
e. Write a C++ statement that stores the average of nu=1, num 2, and num into avercage
f. Write C+, statement(s) that output the values of num 2, num 2, num 3, and aver 3q e
g. Compile and run your program.
4. Repeat Programming Exercise 3 by declaring num1, num2, and num3, and average of type doubi-
 a. Write a C++ statement that includes the header flle iostream

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!