multiply
Purpose
Multiplication operator *
Description
Finds the product of the numbers either side of the * operator. The result is the first number added to itself the second number of times.
Syntax
result = number1 * number2
Arguments
result product of number1 and number2
number1 first number
number2 second number
Example
answer = "0"
correct = 6 * 7
while ( int( answer ) != correct ) loop
clear()
answer = input( "What is 6 times 7?", false )
if ( int( answer ) != correct ) then
print ("Sorry that is incorrect. Please try again" )
for i = 0 to 200 loop
update()
repeat
endIf
repeat
print( "That is correct!" )
sleep( 3 )
Associated Commands