prev
for loop
116.Biggest of 10 nos (01.08.2010)
/*
Program# 116
date : 14-01-2009
Biggest of 10 nos
*/
#include <stdio.h>
int main(){
int i,n,big;
big=0;
for(i=0;i<10;i++)
{
scanf("%d",&n);
big=(big>n)?big:n;
}
printf("\n big: %d",big);
}
next
Please enable JavaScript to view the
comments powered by Disqus.
blog comments powered by
Disqus