Question: Instructions Consider the following program segment: / / include statement ( s ) / / using namespace statement int main ( ) { / /
Instructions
Consider the following program segment:
include statements
using namespace statement
int main
variable declaration
executable statements
return statement
Write a C statement that includes the header file iostream.
Proceed through all the steps in this activity by clicking the navigation arrows at the bottom of this pane after completing each step.
Task #: Correct header files included
Test Feedback:
No attempts made
Task #: Correct namespace statement used
Test Feedback:
No attempts made
Task #: All variables declared of type int
Test Feedback:
No attempts made
Task #: All variables initialized correctly
Task #: Correct values of all variables output to screen
Instructions
Final Step:
Write C statements that output the values of num num num and average.
Then compile and run your program by clicking the blue run button on the right side of the screen.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
