CAPE Computer Science Unit 1 · 2014 · Paper 2 · Question 6(d)
For example, given 1000 10, the program prints: Old price: 1000 New Price with tax: 1100
Write a C program that accepts two values, price and tax (both of type float). The program applies tax to price and prints the old price and the new price in an appropriate message. Note that tax is given as a percentage.
The mark scheme is shown once you've answered.
Practise this question