Question: Exercise: 1- Write a Program to create a dynamic array has N elements. Get integer values into array and then provide the following functionality: a:

 Exercise: 1- Write a Program to create a dynamic array has

Exercise: 1- Write a Program to create a dynamic array has N elements. Get integer values into array and then provide the following functionality: a: sort them in ascending/descending order depending on request, using bubble sort method. Print all even numbers available in the array. Print all Odd numbers available in the array. d: Print all prime numbers available in the array. Print all complete square numbers (e.g. 4, 9, 16, 25 etc.) available in the array. b: C: e: 2- Write a Program which takes two matrices (i.e. Matrix_A and Matrix_B) of MXN dimensions and perform the following functionality: a: Sum of Matrix-A and B. Difference of Matrix-A and B. b

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!