See the zipped code and see if you can work on this part. Task3: Create a function named ValueOf to refactor the code that translates a selected...
Need help with visual basics assignment. There is just one part I have to work on see attachments.
See the zipped code and see if you can work on this part. Task3: Create a function named ValueOf to refactor the code that translates a selected index into arelated string (city, latitude, or longitude).Task 3a: Write the code for the ValueOf function with input parameters for Index as typeInteger, which identifies the record in the array Hubs, and FieldName as typeFieldNames (an enumeration that has been provided), which identifies which field inthe Airport structure to return. The function ValueOf returns the value indicated astype string. The stub for this function has been provided.
Show more