Computer Science, asked by srikant641, 9 months ago

Write the Python Program To Find Largest Element In An Array

Answers

Answered by karthiknvd9o
0

ALGORITHM:

STEP 1: Declare and initialize an array.

STEP 2: Store first element in variable max.

STEP 3: Loop through the array from 0 to length of the array and compare the value of max with elements of the array.

STEP 4: If any element is greater than max, max will hold the value of that element.

thank me!

Similar questions