Page 10 - Samawat_Arsalan_Hyder_19_arid_855
P. 10

SAMAWAT ARSALAN HYDER                                                          19-ARID-855


                              void putdata()

                              {

                                     int x=1;

                                     while(x<=3)

                                     {

                                            cout<<"\nSales of Month"<<x<<": ";

                                            x++;

                                     }

                              }

                              ~Sale()

                              {

                                     cout<<"\nGood bye..............";

                              }

               };



               class Publication

               {

                       string   Title;

                       float   Price;

                       public:

                              publication()

                              {

                                     Price=0;

                              }

                              void getdata()

                              {

                                     cout<<"\nEnter Title: ";
   5   6   7   8   9   10   11   12   13   14   15