Page 423 - CITS - Computer Software Application -TT
P. 423

COMPUTER SOFTWARE APPLICATION - CITS




























           The = sign is called the assignment operator.
           The variable name student_name has its value changed from “Mary” to “John”.

           The variable name count has its value changed from 5 to 6 by adding 1 to it and then changed again from 6 to 10
           by taking out the 6 and putting in the 10.
           Naming Variables
           Select meaningful variable names that represent what they are for.

           Try to use the variable name count instead of just c, and year instead of just y.





















           Variable name must only use:



























                                                           410

                             CITS : IT&ITES - Computer Software Application - Lesson 120 - 137
   418   419   420   421   422   423   424   425   426   427   428