A student has a number of attributes including: stName, stNo and stMark If we have a LIST of 4 students as follow (note: select suitable representation for a student) stName stNo stMark Sami 2019205030 77.5 Ahmad 2018407080 80.5 Dana 2020607089 71 Sara 2019876545 63 - Write a function that finds the maximum mark . Your function will return stName and stMark for the student who has the maximum mark. Call your function from main program to print your result.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section7.5: Case Studies
Problem 3E
icon
Related questions
Question
A student has a number of attributes including: stName, stNo and stMark If we have a LIST of 4 students as follow (note: select suitable representation for a student) stName stNo stMark Sami 2019205030 77.5 Ahmad 2018407080 80.5 Dana 2020607089 71 Sara 2019876545 63 - Write a function that finds the maximum mark . Your function will return stName and stMark for the student who has the maximum mark. Call your function from main program to print your result.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr