Professional Documents
Culture Documents
Assignment 1
Assignment 1
Assignment 1
Question 2: Write a C++ program that will print the following shapes on the console with simple
cout statements.
Question 3: Fill the following table as we did in class. The table values should be updated by
evaluating statement # 9 to statement # 13 from the following code.
Question 4: Write a C++ program that will take 2 numbers from user and prints the sum and
multiplication result on the console.
The program output should be:
For Example:
Enter Number 1: 34
Enter Number 2: 12
The Sum of 34 and 12 is 46.
The multiplication result of 34 and 12 is 408.