PRF192_-_PE_-_SU_2024_-_s_13_2162.webp
golden_swallow

PRF192_-_PE_-_SU_2024_-_s_13_2162.webp

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
Chưa có bình luận nào.

Thông tin

Category
PRF192
Thêm bởi
golden_swallow
Ngày thêm
Lượt xem
727
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRF192_-_PE_-_SU_2024_-_s_13_2162.webp
File size
146.9 KB
Dimensions
1920px x 973px

Share this media

Back
Bên trên Bottom