Calculate and print the amount that the buyer has to pay for each product. Knowing that the VAT of each product is 8%.
Below is an example:
Enter: n = 6, array = {8, 10, 15, 9, 50, 10}
6
8 10 15 9 50 10
OUTPUT:
18.64
2 10.80
3 16.20
4 9.72
5 54.00
6 10.80
Press any key to continue
Question 9:
(1 mark, file to be edited: Q9.c)
The program allows the user to enter 3 character strings: s1, s2 and s3 from the keyboard.
Zoom
+ 100%
Close