Page 127 - Computer Genius Class 05
P. 127
Uses of Math Blocks
These blocks are used for calculating any problem statements, such as:
1. Calculating total sum
2. alculating difference
3. Solving math problems
4. Measuring conversions (cm, inches, kg)
Program to Evaluate 10+45
As we already know, 10 + 45 = 55
To evaluate 10 + 45 in AI Connect, do the following coding and click on Run button:
Program to Evaluate (4+6) × (5+8)
As we already know, (4 + 6) x (5 + 8) = 10 x 13 = 130
To evaluate (4 + 6) x (5 + 8) in AI Connect, do the following coding and click on Run button:
The Java programming language supports various arithmetic operators for all
floating point and integer num ers.
Math Operators and Loops 125

