Write the Python Program To Find Largest Element In An Array
Answers
Answered by
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
English,
4 months ago
Science,
4 months ago
Computer Science,
9 months ago
Computer Science,
9 months ago
Chemistry,
1 year ago
Math,
1 year ago