1
2#include <stdio.h>
3int main(void) {
4 int i,n,m,t[50];
5printf("How long do you want your table? :");
6scanf("%d",&n);
7 for (i=0;i<n;i++){
8printf("enter the %d number :",i+1);
9scanf("%d",&t[i]);
10 }
11 m=t[0];
12 for (i=0;i<n;i++){
13 if (m>t[i])
14 m=t[i];
15 }
16printf("The smallest number in this table is : %d\n",m);
17
18 return 0;
19 }