In: Computer Science
How to add, multiply, and divide numbers in flowgorithm
Step 1 = Choose declare box and assign variable names and set their type Integer or Float
Step 2= For Add mulitply divide you can use 3 variable
Example num1, num2 and answer
so for 3 variable 3 declare boxes are used
Step 3 Use assign box to assign value to num1 and num2
Step 4 Now again use a assign box and add the expression inside the box and assignt the result to variable answer
In the expression you can specify the operation you want to perform
Add = num1 + num2
Multiply = num1 * num2
Divide = num1/num2
Step 5 finally after arithmetic operation you can print the output using output symbol