Page 86 - IT_V5.0_Class8
P. 86

Step 2:  Click on the Make a Variable button. The New Variable dialog box appears.

                  Step 3:  Type name of the variable in the New variable name text box.
                  Step 4:  Click on the OK button.
                  Step 5:  Similarly, create another variable named Num2.





                                               2



                                                                                                        5










                     1

                                                                     3          4

                  Step 6:  Create the following script.
                  Step 7:  Click on the Green Flag button.
                  Step 8:  Enter the first number and click on the tick.




                                                                 7

                                                 6





                                                                                                 8







                  Step 9:  Enter the second number and click on the tick.
                            The output appears.













                                                                 9




                    84    Information Technology (V5.0)-VIII
   81   82   83   84   85   86   87   88   89   90   91