Program 75 #P75 - C Program to Find Largest Element of an Array #C196
This program takes n number of element from user (where, n is specified by user) and stores data in an array. Then, this program displays the largest element of that array using loops.
#rubalsolutions #coding #developer #programming #programmer #technology #clanguage #computerscience #c #informaticpractices #sub #subscribe #youtube #newyoutuber #youtubechannel
This program takes n number of elements from user and stores it in array arr[].
To find the largest element, the first two elements of array are checked and largest of these two element is placed in arr[0].
Then, the first and third elements are checked and largest of these two element is placed in arr[0].
his process continues until and first and last elements are checked.
Finally, the largest element of an array will be in arr[0] position.