#include<stdio.h>
#include<conio.h>
void main()
{
int a[30],i,min;
printf("Enter 30 Values");
for(i=0;i<=29;i++)
{
scanf("%d",&a[i]);
}
min=a[0];
for(i=0;i<30;i++)
{
if(min>a[i])
{
min=a[i];
}
}
printf("Minimum Value is %d",min);
getch();
}
Copyright © 2010 C Programs
Icons & Wordpress Theme by N.Design | Blogger Templates by Blog and Web
0 comments: (+add yours?)
Post a Comment