C program to print 3 numbers in ascending order

C program to print 3 numbers in ascending order

Input:

Enter three numbers:
3 2 1

Output:

Sorted list:
1 2 3

Implementation: