useing bloodshed dev c++
i enter in the code verbatum from my instructor but i keep getting errors
5 C:\Dev-Cpp\1.cpp expected constructor, destructor, or type conversion before "namespace"
5 C:\Dev-Cpp\1.cpp expected `,' or `;' before "namespace"
7 C:\Dev-Cpp\1.cpp expected constructor, destructor, or type conversion before "int" for example
here is my code
#include <iostream>
useing namespace std;
main int(int, int, int)
{
int number [5];
int value;
int temp;
}
for (int i=0; i<5; ++)
{
cin>> value>>;
number [i]= value;
}
for (int i=0; i<5; ++)
{
for (int i=0; i<4; i++)
if (number [i]> nmuber [j+1]
{
temp=number [j]
number [i]= number [j+1]
number [j+1]= temp
}
}
}
cout<<end1;
for (int i=0; i<5; ++)
cout<< number [1]<< end1;