Write a program which consists of a class namedZakat and consists of two data members

OwnerName andTotalamount, the class should also consists ofthree constructors i.e. Default

constructor , one argument constructor and two argumentconstructor.

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

zakat.

It should be keep in mind that the zakat will becalculated only if the Totalamount is greaterthan

or equal to 20,000.

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

each object.

Note: The zakat will becalculated by the formula (Totalamount *2.5)/100;

"Do you want an original answer to this question?


Yes No

"Is this question part of your assignment? Essay
.We Can Help!

Order Now