Hello World#
Print "Hello, World!".
Variables and Arithmetic#
a number called x is 3.
a number called y is 5.
Print the x add the y.
Function Definition and Call#
To 'add numbers' with a number called x and a number called y. Return a number, the x add y.
Print 'add numbers' of 3 and 5.
Counting Loop#
Set the number called counter to 1.
While the counter is less than 10, print the counter, increment the counter.
FizzBuzz#
To 'divides evenly' with a number called dividend and a number called divisor. Return a boolean, dividend modulo divisor is 0.
Print each number from 1 to 15, but if 'divides evenly' with the number and 15 print "FizzBuzz", but if 'divides evenly' with the number and 3 print "Fizz", but if 'divides evenly' with the number and 5 print "Buzz".