Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

image text in transcribed

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 9999

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

More Books

Students also viewed these Databases questions

Question

3. Why is the cash in the bank different from the profit figure?

Answered: 1 week ago