#include <iostream>
#include <conio.h>
using namespace std;
int bubbleSort(int arr[], int s)
{
char a, d;
cout << "Enter Size of Array :";
cin >> s;
int* iptr = new int [s];
for (int i = 0; i < s; i++)
{
cout << "input " << i + 1 << ":";
cin >> iptr[i];
}
cout << "Press a for ascending.\n Press d for descending.";
int op = 0;
switch (op){
case 'a':
int I, J, Temp;
for (I = 0; I<s - 1; I++)
{
for (J = 0; J<(s - 1 - I); J++)