Data members – Get an Orginal Paper (homeworkcorp.com/order)

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;

Place New Order
It's Free, Fast & Safe

"Looking for a Similar Assignment? Order now and Get a Discount!

Scroll to Top