Page 90 - TP-Play_V-2.0_Book-7
P. 90

On running the program given on previous page, we get the following output:































            Program 6: To check if the given number is lucky or not, if the given number is greater
            than zero and is even, then print ‘Lucky number’ else print ‘Not a lucky number’





















            On running the above program, we get the following output:



























             90       Play (Ver. 2.0)-VII
   85   86   87   88   89   90   91   92   93   94   95