Page 119 - CG_v2.1_flipBooks_class_6
P. 119

Critical Thinking
                    LAB Activity


                   A.  Create a program to check if a number is divisible by 4 or 5 or by both 4 and 5.


























































                   B.   Create  a program which assigns total marks of a student to a variable, and displays grade by using
                      the logic given below:

                          Total marks > 70, then display grade A

                         Total marks >49 and Total marks <=70, then display grade B
                         Total marks <=49, then display grade C











                                                                                  More on MakeCode Arcade     117
   114   115   116   117   118   119   120   121   122   123   124