Page 108 - CG_v2.1_flipBooks_class_6
P. 108
Block Name Description
multiplication Return the product of the two numbers.
division Return the quotient of the two numbers.
Return the remainder after performing the
remainder of
division operation.
min Return the minimum between two numbers.
max Return the maximum between two numbers.
absolute of Return the absolute value of a number.
square root Return the square root of a number.
round Round of a number to the nearest whole number.
Generate random numbers within a specified
pick random
range.
Let us create a simple project to perform the sum of two numbers. Follow the given steps to do so:
2 Drag the set to block and
drop it inside the on start block.
3 Click on the
down arrow of
the set to block.
4 Select the
num1 variable.
1 Create two variables named num1 and num2.
106 Computer Genius (V2.1)-VI

