Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Computer Programming
Fall 2019
Assignment
Selection and Repetition Control Structures
Deadline 10th October 2019
You will have to complete and submit soft copy though email before 10th October and submit hard copy
of report for this assignment on 14th Oct 2019.
The report will be submitted as a [hard copy] of word document and will consist of following parts:
1) Title page (Same as Lab Journal)
2) Source code, output screens.
OBJECTIVE
1) To understand the logical expressions and their use in selection statements of C++
2) To understand and practice
a. If statement
b. If – else statement/switch
c. While Loop
PROCEDURE
Students should go through Pre-Lab reading manual [Lab-3-Manual] before starting this
assignment.
Submission dead line is February 28th, 2019.
Students should complete and submit assignment (report) after finishing this assignment.
There is a post assignment assessment that will be distributed among students in any of the
class/Lab after submission of this assignment successfully and on their own.
Use proper indentation techniques. You must not make any changes other than inserting braces.
The Compiler ignores indentation in a C++ program. We eliminated the indentation from the
following code to make the problem more challenging. [Note: It’s possible that no modification
is necessary.