Computer Science 2023 C++ Programming
2023 Programming Assignment 1 Each program you turn in each student MUST submit TWO files MS | Assignment Collections
Programming Assignment #1
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
.
.
Submit your assignment through the “Assignment #1” submission link under Dropbox tab in Week 3.
(Week 3->Click->”Assignment #1 Dropbox->Submit TWO files individually)
.
.
Assignment #1: 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
}
- Include the header files isotream.
- Include cin, cout, and endl.
- Declare two variables: num1, num2, num3, and average of type int.
- Assign 125 into num1, 28 into num2, and -25 into num3
- Store the average of num1, num2, num3, into average
- Output the values of num1, num2, num3 and average
- Compile and run your program
We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.