Question: * Create a playground project in XCode 9(Swift4) 1) Following is an example of an array of dictionaries. Each dictionary in the array represents a
* Create a playground project in XCode 9(Swift4)
1) Following is an example of an array of dictionaries. Each dictionary in the array represents a student with first name, last name, and gpa. Find the student with the highest gpa and display first name and the last name of that student. var students : [[String:Any]] =
[[ "firstName": "John", "lastName": "Wilson", "gpa": 2.4 ], [
"firstName": "Nancy", "lastName": "Smith", "gpa": 3.5 ], [
"firstName": "Michael", "lastName": "Liu", "gpa": 3.1 ]]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
