Program in the C programming language to find the biggest element or number from the array of any size. Below is the code of the C program –
/* C program to find the biggest element or no. from the array */ #include<stdio.h> #include<conio.h> void main() { int ar[100],big,i,n; printf("Enter the size of the array to input the elements \n"); scanf("%d",&n); printf("Enter the elements of the array \n"); for(i=0;i<n;i++) { scanf("%d",&ar[i]); } big=ar[0]; for(i=0;i<n;i++) { if(ar[i]>=big) { big=ar[i]; } } printf("Largest number of the array is %d",big); getch(); }
thank you for arrays largest numbre
Hello Aditi,You are absolutely correct there. Many people do blogging for hobby, that makes them feel good, but these days, most of the people do this for money, especially, yosrAstenu.gnd yes, that’s true that blogging helps us to meet new, different people around the world. That is my favorite part by the way.Abhi recently posted..
Cyndi~LOVE the way you photographed and showed each idea and version. I redo and retry and fiddle a lot too~ Your wonderful result is so encouraging AND gorgeous!
cooing coon uts:hobama is just warming upask a libyanand the next prez will be worse than hobama because u hobama nazis made it OK for hobama to abuse the poor/blacks OPENLY and more BRUTALLY than any other prez EVER…nigs like you have just begun to feel the pain that YOU have designedu have not heard any shriek yet mfuntil you hear your belated ownbet!
Thx
Thanks