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 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
Get step-by-step solutions from verified subject matter experts
