C++ inheritance

Can someone please explain how to do this?
Write a program to calculate bill amount upon given constraints
1 use constructor for variable initialization.
2 Make 2 classes for government and private hospital.
3 some base charges equals for both hospital and declare it in government class.
4 User will enter hospital type and his/her name and get bill.
What have you got so far?
Hi,
Well, best place is at the point where you realise this isn't a homework site and showing us where you are having problems etc with work you have put in. Cut and paste the assignment doesn't count.

Everybody here is glad to help when you get off the starting blocks :)
Topic archived. No new replies allowed.