Programming

Programming

Please see attached

Assignments

Assignment 1

Read Chapter 2: “Introduction to C++ Programming” and complete exercise 2.16 on page 79. Add comments in your program in C++ comments format. Write a one page report that explains how your program works. Your paper must be formatted according to, APA style as outlined in the Ashford Writing Center. Make sure that your program reads numbers from the user and calculates the results correctly. Add your name, the course ID and name, and the instructor’s name in the printout using string operation. Your program should be able to read the input and print the results properly.

Submit your source code and executable file.

Please copy and paste your code into a Word or PDF document for submission. (the Waypoint system does not accept .cpp (C++) or .exe (executable) file types)

Assignment 2

In the textbook, on page 400, solve problem 7.18: What does the following program do?. Copy the sample program and compile it, then find the results. Submit a report which is more than one page length to explain how the program works and how you can improve it. Your report should be formatted according to APA style as outlined in the Ashford Writing Center. Write comments in C++ comments format in the source file, to explain what the functions are and how they work.

Submit your source code and executable file.

Please copy and paste your code into a Word or PDF document for submission. (the Waypoint system does not accept .cpp (C++) or .exe (executable) file types)

Final Assignment

Create the following program which converts Fahrenheit to Celsius. Your program must have the following functions:

Read integer Fahrenheit temperatures from the user. You need to check whether the input is the correct one or not. If the user enters the incorrect number, ask it again.
Use the formula: Celsius = (Fahrenheit – 32) * 5.0 / 9.0
The output Celsius should be a floating point with two digits of precision.
The Celsius temperatures should be displayed with a sign of positive or negative.
The program should ask the user to continue or not. If the user wants to do the conversion again, use repetitive statements such as DO WHILE, FOR, or IF THEN ELSE to do the conversion again.
Add comments to explain the functions of the program.

Write a user manual of more than two pages to explain how to use your program. Format your manual according to APA style as outlined in the Ashford Writing Center. Your program should run without any errors.

Submit your source code and executable file.

Submit your source code file. Please copy and paste your code into a Word or PDF document for submission. (the Waypoint system does not accept .cpp (C++) or .exe (executable) file types)

attachment
deitel__deitel_c_how_to_program-_6th_editionwww.itkhiladi.com_.pdf
attachment
assignments.docx