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
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
Note: The zakat will becalculated by the formula (Totalamount *2.5)/100;
The post Data members appeared first on My Assignment Online.