Question: Can somebody write the following codes and write out the result? For the codes, please check it through ibm swift sandbox! e squares of all

Can somebody write the following codes and write out the result? For the codes, please check it through ibm swift sandbox!

Can somebody write the following codes and write out the result? For

e squares of all the numbers in an array of Int's //Add the sum of th func sumSquares (values: [Int]) ->Int // even numbers in an array ->Int{ Add the sum of the squares of all SquaresEven (values: [Int]) //Given a dictionary of individuals Salaries (in whole //fi func averagesalary(salaries: [string: Int])->Int( nd the average salary //Given a dictionary of individuals Salaries (in whole dollars), //find the func averageSalary(salaries: [String: Int], testAmount: Int)->Int( average salary of all individuals who earn greater than a given amount //Given an array of doubles find the median //reminder: to sort an array use sort) func median (v: [Double])->Double ( //C nsider this function func mystery (info: [Int])->Int? var i 0 while (i Intf var sum = 0 var find: Int? for i in 0..

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!