For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102

WhatsApp Widget

Data members

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;

The post Data members appeared first on My Assignment Online.

WhatsApp
Hello! Need help with your assignments?

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102

Submit Your Questions to Writers for FREE!!

X
GET YOUR PAPER DONE