Commit 27654863 by Shaik Ghouse

Factorial

parent edb09a24
...@@ -16,6 +16,12 @@ class ViewController: UIViewController { ...@@ -16,6 +16,12 @@ class ViewController: UIViewController {
print("Hello this is master") print("Hello this is master")
} }
func factorial() {
}
func factorial(x : Int) -> Int {
return x
}
override func didReceiveMemoryWarning() { override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning() super.didReceiveMemoryWarning()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment