Question: c++ programes keep it simple Question No. 01 (CLO-2) (10) a) Declare a 2D integer array of 10 rows and 10 columns and perform the

 c++ programes keep it simple Question No. 01 (CLO-2) (10) a)

c++ programes keep it simple

Question No. 01 (CLO-2) (10) a) Declare a 2D integer array of 10 rows and 10 columns and perform the followings: 1. Read 9 rows and 9 columns from user. Values must be between [50 to 5000). If user enters value outside the range then display "Invalid Input". 2. Calculate the multiplication of each row and save it in 10th column. 3. Identify the count of even numbers in each column and save it in the 10th row. 4. Replace all left diagonal elements with "-1". 5. Display the array on output screen

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!