Skip to content

Instantly share code, notes, and snippets.

@olupotd
olupotd / Bubble
Created December 5, 2013 14:31
Bubble sort in C++
#include<iostream>
using namespace std;
int numb[20];
int i (0), j (0), temp;
int main(int argc, char* argv[])
{
while(i < sizeof(numb)){
numb[i] = i+2;