Computer Science, asked by kavetisrinija99, 7 months ago

The teacher who handles science for 3rd-standard class distributes the mark sheets to her students, she needs to find the highest mark among the "n" students. Help the teacher to find the maximum mark.
Input Format:

The first input contains an integer 'n' which denotes the number of students

The remaining input denotes mark of 'n' students separated by spaces

Output Format:

Print the highest mark

Answers

Answered by arunanshaps
1

Answer:

Explanation: THE TEACHER CAN USE MS EXCEL TO GET THE ANSWER BY USING THE MAX FUNCTION OR IF SHE KNOW HOW TO USE PYTHON OR ANY OTHER PROGRAMMING TO GET THE ANSWER.

Answered by amitnrw
0

Given : The teacher who handles science for 3rd-standard class distributes the mark sheets to her students,

To find : needs to find the highest mark among the "n" students

Explanation:

Start

Number of students  = n

a1 to an  marks of students

Highest mark  = H

H = a1

{ For i ≤ n  ,  i ++  

if ( H < ai )

{ H  = ai }

Else

H = H

}

Print H  

End

Learn more:

Write a a algorithm for a program that adds two digits numbers ...

https://brainly.in/question/14599411

Each Sunday, a newspaper agency sells w copies of a special ...

https://brainly.in/question/16367568

Similar questions