Hi everyone ! i have this problem but i can not solve it. write C++ for bubble sort. 1) ask user to enter 10 random numbers, generate array and sorted.
2) selection sort.
thank all you guy
this is my answer that it has many mistakes.#include <iostream>
using namespace std;
int main()
{
const int arraySize = 10;
int randNum, i, j;
int num;
int temp = 0;