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

C++ language
Homework 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. b: Print all even numbers available in the array. c: Print all Odd numbers available in the array. d: Print all prime numbers available in the array. e: Print all complete square numbers (e.g. 4,9,16, 25 etc.) available in the array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
