Ictttt
Ictttt
MOD Gives the remainder after the first number is divided by the second, Le. how many are
left.
^ Power off
Arithmetic operators
Example 1
Taking two numbers as input and adding them together:
OUTPUT("Enter the first number")
INPUT Num1
OUTPUT("Enter the second number")
INPUT Num2
Total = Num1 + Num2
Arithmetic operators
Example 2
OUTPUT (“enter two numbers”)
INPUT number1
INPUT number2
Subtracting 10 from 20:
Number1 = 10
Number2 = 20
Result = Number2 – Number1
OUTPUT (“the result is”, Result)
Example 5
Finding the whole number after dividing 33 by 7:
Result = DIV(33, 7)
Input 33
Input 7
number1 = 33
number2 = 7
Result = number1/number2
OUTPUT (“the result is”, Result)