Page 104 - Computer Genius Class 07
P. 104

Step 4   Define a ne   aria le  con erted time  to store the  alue o  12  min changed into hours.

                              Block Code


















                                                   Textual code










                   Step 5   To print the Converted time, follow the given instructions.

                              Block Code



















                                                   Textual code

















                    There are 60 minutes in 1 hour. Therefore, to convert  minutes to hours, divide the number of
                    minutes by 60.



                      102    Computer Genius-VII
   99   100   101   102   103   104   105   106   107   108   109