Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4924

C Program to Find the Largest Number in an Array

$
0
0
Hi
I was just reading about array chapter. I want to use array in program. I tried to write c program to find largest number in array. I saw some programs on Internet but I didn't understand because I don't understand logic how to find largest number manually . first I want to understand basic and than I want to go for Program.

For example

Example: Users enter: 1 0 7 9 6
The largest number is : 9

By looking we can say that the number 9 is largest number but how does program do ?

I am...

C Program to Find the Largest Number in an Array

Viewing all articles
Browse latest Browse all 4924

Trending Articles