Update Bubble Sort.cpp

This commit is contained in:
Ashwek Swamy
2019-02-09 13:25:57 +05:30
committed by GitHub
parent 31abf60bc6
commit e18fe9f740

View File

@@ -8,13 +8,13 @@ int main()
{
int n;
short swap_check=0;
cout << "Enter the amount of numbers to sort: ";
cout << "Enter the amount of numbers to sort: ";
cin >> n;
vector<int> numbers;
cout << "Enter " << n << " numbers: ";
int num;
//Input
//Input
for(int i=0; i<n; i++)
{
cin >> num;