Project to pratice Functions in Swift 5.4
Table of Contents
Create a function that takes an array of two numbers and checks if the square root of the first number is equal to the cube root of the second number.
Examples
checkSquareAndCube([4, 8]) ➞ true
checkSquareAndCube([16, 48]) ➞ false
checkSquareAndCube([9, 27]) ➞ true
Exercices are from: https://edabit.com/challenges/swift
Open the file SquaresAndCubes.xcodeproj
- Xcode 12.4
- Use iPhone 12 mini as simulator
Daniel Washington Ignacio - danielvertigo@hotmail.com
Click to access my LinkedIn