Problem Statement - 02C
Write the definition of a class PlC in C++ with following description:
Private Members
Pno //Data member for Picture Number (an integer) Category //Data member for Picture Category (a string) Location //Data member for Exhibition Location (a string) FixLocation //A member function to assign //Exhibition Location as per category //as shown in the following table
Category | Location |
Classic | Amina |
Modern | Jim Plaq |
Antique | Ustad Khan |
Public Members Enter() //A function to allow user to enter values //Pno, category and call FixLocation() function SeeAll() //A function to display all the data members
Solution
CSKC| Created: 5-Jan-2019 | Updated: 5-Jan-2019|CBSE12D-2015