Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please do the coding for the question MaxPackage The n number of students received m number of offers at VIT, Chennai. You need to find
please do the coding for the question
MaxPackage The "n" number of students received "m" number of offers at VIT, Chennai. You need to find the maximum package out which all n students with m offers. The input contains the number of students followed by Name of the students and the packages of each offer. NOTE: Program should use function concepts and global keyword For example Input: # n number of students >> n lines with the name of the student followed by m offers 5 relu 2000 1500 7500 890 750 550 zulu 200 150 750 350 790 tanh 100 500 1500 sinx 1000 1500 2000 250 Cosx 900 800 700 200 500 Output: # Maximum salary h 7500 zulu 200 150 750 350 790 tanh 100 500 1500 sinx 1000 1500 2000 250 Cosx 900 800 700 200 500 Output: # Maximum salary 7500 Input: # n number of students >> n lines with the name of the student followed by m offers 3 sinx 1000 1500 Cosx 900 800 700 200 500 ohms 5000 750 9999 Output: # Maximum salary 9999Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started