Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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-
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Oracle Database Architecture

Authors: Thomas Kyte, Darl Kuhn

3rd Edition

1430262990, 9781430262992

More Books

Students also viewed these Databases questions