Answer to Question #140240 in C++ for naman jain

Question #140240
Q1 Suppose you have deposited rs 2000, 3000, 4000 in Banks-SBI, BOB, HDFC respectively. Now you have to print the amount deposited by you in a particular Bank.
Create a Class ‘Bank’ with a function ‘showBalance’ which returns 0. Make its three subclasses named ‘SBI’, ‘BOB’, ‘HDFC’ with a function with the same name ‘showBalance’ which returns the amount deposited in that particular Bank. Call the function ‘showBalance’ by the object of each of the three Banks.
1
Expert's answer
2020-10-25T19:34:47-0400
Dear naman jain, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog