1. initialise a variable named max and set its value equal to first item of array. 2. start a for loop to iterate through every element of marks array. 3. check if item> max. 4. if 4 is true: set max...


1. initialise a variable named max and set its value equal to first item of array.


2. start a for loop to iterate through every element of marks array.


3. check if item> max.


4. if 4 is true: set max = item, else continue


5. after the loop will finish, max variable will have maximum marks



Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here