What values does the program input


Programming Assignment

Each program you turn in, each student MUST submit TWO files , MS Word and C++ code, containing following information:

1. MS Word File:

(1) Student and Computing Information

- Name and ID
- The class name and the title of an assignment
- The type of computer and compiler you are using, particularly if you are not using TAMUC computer laboratory hardware/software

(2) Purpose statement: Include descripted paragraphs to summarize the topics and goals of a program, such as:

- What values does the program input?
- What values does it output?
- What kind of processing does the program do to obtain the output values?
- Further, the documentation either explains how the software operates or how to use it, and may mean different things to people in different roles if necessary. Specific purpose is noted for each function, control structure, input requirements, and output results

(3) Copy/paste your C++ code into the MS Word File

(4) Screen shots: copy/paste the running output-screens into the MS Word File

2. Separated Original C++ Source Code: .cpp file only

Write a C++ Program.

Consider the following program segment.

/*
// Name: Your Name
// MU ID: Your ID
*/
// include statement(s)
// using namespace statement
int main()
{
//variable declaration
//executable statements
//return statement
}

1. Include the header files isotream.
2. Include cin, cout, and endl.
3. Declare two variables: num1, num2, num3, and average of type int.
4. Assign 125 into num1, 28 into num2, and -25 into num3
5. Store the average of num1, num2, num3, into average
6. Output the values of num1, num2, num3 and average
7. Compile and run your program

Format your assignment according to the following formatting requirements:

1. The answer should be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides.

2. The response also includes a cover page containing the title of the assignment, the student's name, the course title, and the date. The cover page is not included in the required page length.

3. Also include a reference page. The Citations and references should follow APA format. The reference page is not included in the required page length.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: What values does the program input
Reference No:- TGS03012881

Expected delivery within 24 Hours