PRF192_-_FA_2024_-_PE_-_s_-_4_2866.webp
H

PRF192_-_FA_2024_-_PE_-_s_-_4_2866.webp

3 of 3
Paper No: 4
Your program allows the user to enter an array of N integer numbers, where N is entered from the keyboard (STDIN).
Continue to enter an integer K.
Find and print the numbers in the array that are not divisible by K. There is a newline character '\n'between any two printed numbers. If not found print the message: "Not found in N elements of array"
Here are two examples:
Case 1: N = 5; Array = {2, -4, 5, 8, 0); K = 4
5
2-4580
4
OUTPUT:
2 5
Press any key to continue
Close
+ 100%
Zoom
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_FA_2024_-_PE_-_s_-_4_2866.webp
File size
131.4 KB
Dimensions
1920px x 923px

Share this media

Back
Bên trên Bottom