Ascending and Descending order

C Program to sort in Ascending and Descending order for the given set of values and to find smallest and biggest number among them

  1. #include <stdio.h>
  2. #include <math.h>
  3. "\n\t Acending, Decending, Smallest, Biggest""\n\t **************************************""\n Enter the value : ");
  4. scanf("%d""%d""%d\n""\n The given order \t Ascending order \t Descending order \n""\n\t %d\t\t\t %d\t\t %d""\n\n The smallest of given number is %d\n""\n\n The biggest of given number is %d\n""\n\t\t***********************************\n");
  5. getch();
  6. }