Tag: Code
08
Dec
GAME: How Many Cats Do I Have?
by Maribel
No Comments
Cat photographed by and copyright of (c) David Corby (User:Miskatonic, uploader) 2006 Hi! Here’s the code for this game I created! import UIKit class...
28
Nov
LOGIN INFORMATION USING BOOLEANS
by Maribel
No Comments
Example #1 var usernameValid = true var passwordValid = true if usernameValid && passwordValid { print("Welcome back!") } else if !usernameValid && !passwordValid...
28
Nov
IF ELSE STATEMENT EXAMPLE #2
by Maribel
No Comments
var name1 = "John" if name1 == "Maribel" { print ("Welcome " + name1 + "! Start Playing!") } else { print ("Sorry "...
28
Nov
ELSE IF STATEMENT EXAMPLE #1
by Maribel
No Comments
If else-if else statement is used to add alternative set of multiple else-if and single else statements for if condition. In case if condition...
27
Nov
News: “Apple opens Everyone Can Code initiative to students around the world”
by Maribel
No Comments
News: Apple opens Everyone Can Code initiative to students around the world From: www.apple.com