Day: December 8, 2017
08
Dec
WHILE LOOPS #3 – LOOP IN AN ARRAY
by Maribel
No Comments
//While loop in an array var array = [7, 23, 98, 1, 0, 763] a = 0 while a < array.count{ array [a]...
08
Dec
WHILE LOOPS #2
by Maribel
No Comments
More while loops. //Display the first 20 numbers in the seven times table // let multiplier = 7 let upperLimit = 20 var counter =...
08
Dec
WHILE LOOPS #1
by Maribel
No Comments
//While loops: A while loop performs a set of statements until a condition becomes false. These kinds of...
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...