Assignment 5
Assignment 5
Assignment # 5
Due Date: Tuesday, December 15, 2015 by 20:00 hrs, Online Total Marks = 30
NOTE:
This is an individual assignment. Cheating/copying will result in negative marks for both
parties.
You are required to submit .cpp files.
SUBMISSION:
Submission folder will be available at 192.168.1.121 and will automatically disable submissions
at the deadline. No submission will be possible after submission deadline. It is suggested you
submit well before time, even if the assignment is only partly done.
QUESTION 1 [25 Marks]: Write a C++ program that takes as input two 4x4 matrixes and
performs the following operations.
Addition
Multiplication
The program should display the formatted output (with proper spaces and indentation) in the form
of 4x4 matrixes.
NOTE: This problem MUST be done using a 2-D array. Functions for Addition and
Multiplication MUST take array arguments.
QUESTION 2 [5 Marks]: Write a C++ program to save 10 numbers in an array entered by the
user and display the array contents in reverse order without using any loop.