PRF192_-_PE_-_SU_2024_-_s_2_2164.webp
Ogi91

PRF192_-_PE_-_SU_2024_-_s_2_2164.webp

  • Media owner Ogi91
  • Ngày thêm
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:
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)
Close
+ 100%
Zoom
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_PE_-_SU_2024_-_s_2_2164.webp
File size
156.4 KB
Dimensions
1920px x 991px

Share this media

Back
Bên trên Bottom