Question: Ruby script help - The system admin wants a program to create a new hash table that will be stored in a new file that
Ruby script help - The system admin wants a program to create a new hash table that will be stored in a new file that excludes any duplicates from the initial csv file which contains info about the names of users and their account numbers. Also create a function so The user should be able to enter the account number for a subscriber and get back the subscribers name.
Example csv file:
| 586 | NICOLA EVANGELISTA | |
| 177 | MEAGAN LEKBERG | |
| 586 | JEFF DUTTER | |
| 760 | KITTY MANZANERO | |
| 618 | CATHERIN MCCREIGHT | |
| 873 | CARMA KULHANEK | |
| 177 | VALERY KOSAKOWSKI | |
| 210 | SHEILAH MONGES | |
| 760 | KITTY MANZANERO | |
| 760 | KITTY MANZANERO | |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
