Question 8:
(1 mark, file to be edited: Q8.c)
The program allows the user to enter an array of n integers from the keyboard.
The entered integers are considered the prices of each product in the supermarket.
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:
1
2
3
4
8.64
10.80
16.20
9.72
5-
6
54.00
10.80
Press any key to continue
Zoom
88%
Close