Page 84 - KEC Khaitan C7 Flipbook
P. 84

21 st
                   4.   Create the following programs in Python:                           Century   #Critical Thinking
                                                                                             Skills
                     a.   Program that asks for two numbers as input from the user and displays the greater
                          among them.


















                     b.  Program that inputs marks of 5 subjects and calculates their average.

















                     c.  Program that converts temperature from Celsius to Fahrenheit.






































                   82   Premium Edition-VII
   79   80   81   82   83   84   85   86   87   88   89