Page 4 - Samawat_Arsalan_Hyder_19_arid_855
P. 4

SAMAWAT ARSALAN HYDER                                                          19-ARID-855


                       book1.getdata();

                       book1.putdata();
                       tape1.putdata();

                       getch();

                       return 0;
               }



                                                  QUESTION NO 2


               #include<iostream>

               #include<conio.h>

               #include<stdlib.h>

               #include<string.h>

               #include<cstring>

               #include<iomanip>

               #include<cmath>

               using namespace std;



               class Sale

               {
                       float sale[3];


                       public:
                              void getdata()


                              {
                                     int x=1;

                                     while(x<=3)

                                     {

                                            cout<<"\nEnter Sales of Month"<<x<<": ";

                                            cin>>sale[x];
   1   2   3   4   5   6   7   8   9