Page 71 - Computer Class 04
P. 71
To add more than two numbers, enclose SUM and numbers within the
round brackets [( )].
Command : PRINT (SUM <space> number 1 <space> number 2
<space> number 3) press Enter key or click on Execute command.
For example : PRINT (SUM 10 20 30)
DIFFERENCE Function
This function is used to subtract one number from another number.
Command : PRINT DIFFERENCE <space> number 1 <space> number 2
press Enter key or click on Execute command.
For example : PRINT DIFFERENCE 7 3
PRODUCT Function
This function is used to multiply two or more numbers.
Command : PRINT PRODUCT <space> number 1 <space> number 2
press Enter key or click on Execute command.
For example : PRINT PRODUCT 3 4
To multiply more than two numbers, enclose PRODUCT and numbers
within the round brackets [( )].
Command : PRINT (PRODUCT <space> number 1 <space> number 2
<space> number 3) press Enter key or click on Execute command.
For example : PRINT (PRODUCT 3 4 2)
Computer-4 71