PRF192_-_PE_-_SU_2024_-_s_8_2159.webp
soft_wind

PRF192_-_PE_-_SU_2024_-_s_8_2159.webp

OUTPUT:
8.0 5.5 3.5
2.2
Press any key to continue
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
5
8.64
10.80
16.20
9.72
54.00
6 10.80
Press any key to continue
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_PE_-_SU_2024_-_s_8_2159.webp
File size
171.6 KB
Dimensions
1920px x 1051px

Share this media

Back
Bên trên Bottom