Arrange ten numbers in ascending order in c using array

In this program the user enters ten values, and they are arranged in ascending order.Here is my code

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

int main()
{
int i,k,t;
int array1[10];

printf("type numbers\n");
for(i=0;i<=9;i++)
scanf("%d",&array1[i]);


for(i=0;i<=9;i++)
{
    for(k=0; k<=9 ;k++)
    {
        if(array1[k]>array1[k+1])
        {
            t=array1[k];
            array1[k]=array1[k+1];
            array1[k+1]=t;

        }
    }

}

for(i=0;i<=9;i++)
    printf(" %d ",array1[i]);
}

this will display the array in ascending order