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;

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!