0

canNOT get the compiler to spit it out!!!!! ARGH!

Write a function that takes two Int arguments, and returns an Int. The function should multiply the two arguments, add 2, then return the result. Use the function and print the result. func multiplyIntegers(num1: Int, num2: Int) -> Int { let result = num1 * num2 + 2 return result } multiplyIntegers(num1: 7, num2: 90)

20th Apr 2019, 4:10 PM
Jacquelyn McCrae
Jacquelyn McCrae - avatar
1 ответ
+ 1
Jacquelyn McCrae This isn't a question. Please follow the rules https://www.sololearn.com/discuss/1316935/?ref=app
20th Apr 2019, 4:46 PM
Dlite
Dlite - avatar