MyPlayground.playground

MyPlayground.playground

MyPlayground.playground initial version

Malek
iOS developer with over than 11 years of extensive experience working on several projects with different sized startups and corporates.

1 Comment

  1. //: Playground – noun: a place where people can play
    import UIKit
    import PlaygroundSupport
    func calcBmi(weight : Double, height : Double) -> Double{
    let BMI = weight/pow(height,2)
    return BMI
    }
    var bmiResutl = calcBmi(weight: 60, height: 1.83)
    print(bmiResutl)

Leave a Comment

Your email address will not be published. Required fields are marked *