Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

add

Purpose

Addition operator +

Description

Finds the sum of the numbers either side of the + operator. The result is the first number increased by the second

Syntax

result = number1 + number2

Arguments

result sum of number1 and number2

number1 first number

number2 second number

Example

answer = "0"
correct = 2 + 2
while int( answer ) != correct loop
    answer = input( "What is 2 + 2?", 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

add, divide, modulus, multiply, subtract

logo

©2019 FUZE Technologies Ltd. FUZE is a registered trademark of FUZE Technologies Ltd. All rights reserved.

Useful links

  • Fuze Main Site
  • Fuze Arena on Twitter
  • Fuze Arena on Youtube
  • Download Buyer

Contact Information

  • FUZE Technologies Ltd
    15 Clearfields Farm
    Wotton Underwood
    Aylesbury, Buckinghamshire
    ​England, HP18 0RS

  • +44 (0) 1844 239 432

  • contact@fuze.co.uk

© Copyright FUZE Technologies Ltd. All rights reserved.