Question: Write a program that (1) loads the entire college debt file into a hash table, (2) asks the user for a School_ID and a Major_ID,
Write a program that (1) loads the entire college debt file into a hash table, (2) asks the user for a School_ID and a Major_ID, and (3) prints the data corresponding to that ID pair. If the user asks for School_ID=237792 and Major_ID=1101, the program would show the median debt and median earnings for CIS majors at Shepherd University. Although this program can be tested by an interactive user, it should contain a method that could be used programmatically without user interaction. In other words, there should be one method that takes two numbers (the IDs) and returns two other numbers (the median statistics) without any Java console output. This method should combine two data fields (school_id and major_id) into a hash table key. One way to do this is with string concatenation of two numbers plus a delimiter e.g. "100000_1000".
Write program in both python and java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
