Question: 3. Develop a class Customer which contains data member: customerName, phone, balance, simType, and internetBalance. Implement necessary methods to set the value of each

 3. Develop a class Customer which contains data member: customerName, phone, balance, simType, and 

3. Develop a class Customer which contains data member: customerName, phone, balance, simType, and internetBalance. Implement necessary methods to set the value of each variables. Now design another class called offer that contains a function calculateOffer () which takes an object of class customer as a parameter and provides offer to the customer depending on the following criteria: i. If the customer is Robi user add 50MB to his internetBalance ii. If the customer is Airtel user provides 10% cash on his balance

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Based on the question provided you are asked to develop two classes in a programming language which is not specified but Ill assume youre using a lang... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!