PRF192_-_PE_-_SU_2024_-_Block_5_-_s_4_2623.webp
T

PRF192_-_PE_-_SU_2024_-_Block_5_-_s_4_2623.webp

  • Media owner Tengen95
  • Ngày thêm
5 of 5
Paper No: 4
Question 7:
(1 mark, file to be edited: Q7.c)
Your program should allow users to enter an array of 'n' integer numbers.
It finds and displays each pair: frequency of number divisible by 5 and number divisible by 5 on a line,following the order that the numbers were entered.
There is a '-' character between the found number and its frequency.
Below is an example showing how the program works:
7
25 15 9 15 15 20 20
OUTPUT:
1-25
3-15
2-20
Press any key to continue
Zoom
+ 80%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_PE_-_SU_2024_-_Block_5_-_s_4_2623.webp
File size
51.7 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom