/*
Program#65
Biggest 10 nos - Integer Array
*/
#include <stdio.h>
main(){
int i=0,a[10];
int big=0;
while(i<10){
scanf("%d",&a[i]);
i=i+1;
}
i=0;big=a[0];
while(i<10){
if(a[i]>big)
big=a[i];
i=i+1;
}
printf("\n biggest no: %d",big);
}
/*
Program#65
Biggest 10 nos - Integer Array
*/
#include <stdio.h>
main(){
int i=0,a[10];
int big=0;
while(i<10){
scanf("%d",&a[i]);
i=i+1;
}
i=0;big=a[0];
while(i<10){
if(a[i]>big)
big=a[i];
i=i+1;
}
printf("\n biggest no: %d",big);
}