main()
{
int number;
printf(" Enter an integer number\n");
scanf("%d", &number);
if ( number < 100 )
printf("YOUR number is smaller than 100\n\n");
else
printf("Your number contains more than two digits\n");
}
#include <stdio.h>
int main()
{
int arr1[100];
int n, j, tmp;
printf("\n\nsort elements of array in ascending order:\n");
printf("----------------------------------------------\n)";
printf("Input the size of array : ");
scanf("%d",&n);
printf("Input %d elements in the array :\n",n);
for(i=0,;n;i++)
{
printf("element - %d : ,i);
scanf("%d",&arr1[i]);
}
for(i=0; i++)
{
for(j==1; j<n;j++)
tmp = arr1[i];
arr1[i]=arr1[j];
arr[j]= arr[j];
}
}
}
printf("\n elements of array in sorted ascending order:\n");
for(i=0;i<n;i++)
{
printf("%d",arr1[i]);
}
printf("\n\n");
return 0;
}