Question: Consider the following program segment //include statement (s) //using namespace statement int main() 3. //variable declaration //executable statements return st8teoert Write a C++ statement that

 Consider the following program segment //include statement (s) //using namespace statement

Consider the following program segment //include statement (s) //using namespace statement int main() 3. //variable declaration //executable statements return st8teoert Write a C++ statement that includes the header file iostream. Write a C++ statement that allows you to use cin, cout, and endl without the prefix std:: a. b. e Wnite C++ satements) that declare the fllowing variables num d. Write C++ statements that store 125 into numl, 28 into num2, and e. Write a C++ statement that stores the average of num1, num2, and t. Write C++ statement(s) that output the values of numl, num2, num3 . Compile and run your program. num2, num3, and average of type int -25 into num3 num3, into average. and average

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!