The Total solution for NCERT class 6-12
}; void Item : GetOffer () { if (Qty < =50) Offer = 0; else if (Qty <= 100) Offer = 5; //OR Offer = 0.05; else Offer = 10; //OR Offer = 0.1; }