PRF192_-_PE_-_SU_2024_-_Block_5_-_s_7_2622.webp
H

PRF192_-_PE_-_SU_2024_-_Block_5_-_s_7_2622.webp

Question :
(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 3 and number divisible by 3 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:
6
15 40 15 21 21 30
OUTPUT:
2-15
2-21
1-30
Press any key to continue
Question 8:
(1 mark, file to be edited: Q8.c)
Your program allows the user to enter an integer array of 'n' elements from the keyboard.
The program. cwane the places of the first largest and smallest odd number with each other

Close
+ 100%
Zoom
Chưa có bình luận nào.

Thông tin

Category
PRF192
Thêm bởi
Hồng Nhung
Ngày thêm
Lượt xem
695
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_7_2622.webp
File size
69 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom