[Solved] : Question 130495

Write a program which consists of a class named Zakat and consists of two data members

OwnerName and Totalamount, the class should also consists of three constructors i.e. Default

constructor , one argument constructor and two argument constructor.

The class should further consists of a member function named Cal_zakat () which calculate the


It should be keep in mind that the zakat will be calculated only if the Total amount is greater than

or equal to 20,000.

In main, define three object of this class for respective constructors and also display the zakat for

each object.

Note: The zakat will be calculated by the formula (Total amount *2.5)/100;

Expert Answer

Answer to : Question 130495

Leave a Comment


We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?