5th Class Computers Logo Basics Calculations in Logo

Calculations in Logo

Category : 5th Class

*      Calculations in Logo

 

 

Logo can work as a calculator also. You can do simple calculations like Addition, Subtraction, Multiplication and Division in Logo by using the Print command. All the calculations can be done at the LOGO Prompt only in the Text Window.  

 

*  The symbols used in the computer are:

Arithmetic Operation                                     SYMBOL

Addition                                                                +

Subtraction                                                            -

Multiplication                                                        *

Division                                                                  /  

For example:

? Print 2+5 (Press the Enter key)

7 will be displayed as the sum of both the numbers.  

Other examples are:

? Print 8-3

? Print 2*3

? Print 10/2   

 

 

You need to login to perform this action.
You will be redirected in 3 sec spinner

Free
Videos