Page 21 - C++
P. 21

(1 mark of each correct line of output)

               (e)   Write the output of the following C++ program code(assume all necessary header files           3
                     are included in program):








































               Ans  Output:

                     B:380

                     A:350
                     C:275


                     (1 mark of each correct line of output)

               (f)   Consider  the  following  C++  program  code  and  choose  the  option(s)  which  are  not     2

                     possible as output. Also, print the minimum & maximum value of variable Pick during
                     complete  execution  of  the  program.(assume  all  necessary  header  files  are  included  in

                     program):












                                                         Page No. 4
   16   17   18   19   20   21   22   23   24   25   26