2. Write a C++ program to show the sorting methods based on user input with the explanation. You can choose any TWO (2) of the sorting methods as below.
- Selection
- Insertion
- Merge
- Bubble
- Quick
Write a C++ program to declare an integer array of 50 elements. Fill this array using random function with values in range -25 to +75. Now, print address(s) of only those indexes which are having a value which is a prime No.
Create a class complex which store real and imaginary part of a complex number. input
5 complex number & display it.