Need help making this code.

Produce a program to calculate VAT and discount on purchased items. The program should accept as inputs the item cost. If the cost is £100 or more, a discount of 5% is applied. VAT of 20% is then added to the cost less any discount. The program is to output the discount (if any), the VAT and the final amount due. If no discount is applied then the output must not include a discount of zero.
Topic archived. No new replies allowed.