#include<stdio.h>
main()
{
int a[10];
int i,min=0;
clrscr();
printf("Enter 10 integers");
for(i=0;i<10;i++)
{
scanf("%d",&a[i]);
}
min=a[0];
for(i=0;i<10;i++)
{
if(min>a[i])
min=a[i];
}
printf("Minimum number: %d",min);
getch();
}
#include<stdio.h>
main()
{
int a[10];
int i,min=0;
clrscr();
printf("Enter 10 integers");
for(i=0;i<10;i++)
{
scanf("%d",&a[i]);
}
min=a[0];
for(i=0;i<10;i++)
{
if(min>a[i])
min=a[i];
}
printf("Minimum number: %d",min);
getch();
}
Difference between Segmentation and Paging
Criterion 8: First Year Academics (50) 8.1. First Year Student- Fac…
0 Comments