Page 46 -
P. 46

starting to code











                                                You need to decide what messages should be displayed to the
                                                user. Below is a table showing some typical values the user might
                                                enter. What do you think the message should say?






                                     Program Modification


                                       Number entered  Message to display
                                               3
                                              5
                                              7
                                              8




























                                    Think about the original code. You will need to use
                                    more than just print() commands to provide
                                    more informative feedback. What else will you
                                    need?





                                                                                        you are here 4    11
   41   42   43   44   45   46   47   48   49   50   51