Question: Using Swift Only - iOS App Dev Create a deposit function that will accept a Double amount and a tuple called account that is comprised
Using Swift Only - iOS App Dev

Create a deposit function that will accept a Double amount and a tuple called account that is comprised of two values (name which is a string and balance which is a double). This function should add the amount to the balance and Return a tuple comprised of the account name and the new balance calculated. Print a friendly message displaying the name and the balance formatted to currency
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
