Selection Sort in C

#include<stdio.h>
#include<conio.h>

void main()
{
int a[5], i, j, t;
printf("Enter 5 numbers:");
for(i=0;i<=4;i++)
{
scanf("%d",&a[i]);
}

for(i=0;i<=3;i++)
{
for(j=i+1;j<=4;j++)
{
if(a[i]>a[j])
{
t = a[i];
a[i] = a[j];
a[j] = t;
}
}
}

printf("Sorted List is:\n");
for(i=0;i<=4;i++)
{
printf("%d " ,a[i]);
}

getch();
}

Output:

Enter 5 numbers:
5
4
3
2
1
Sorted List is:
1
2
3
4
5