PRF192_-_PE_-_SP_2025_-_s_5_3465.webp
Choso87

PRF192_-_PE_-_SP_2025_-_s_5_3465.webp

  • Media owner Choso87
  • Ngày thêm
Kizspy.me 5 of 5
Question 8:
Paper No: 5
(1 mark, file to be edited: Q8.c)
Ask the user to enter an array of N integers, then find and print the square of all prime numbers.
Below is an example:
For example,
Test case 1: N = 4; Array = {2, 4, 7,9}
4
2 479
OUTPUT:
4 49
Press any key to continue .
Test case 2: N = 4; Array = {1, 6, 8, 10}
4
1 6 8 10
OUTPUT:
No primes
Press any key to continue
Zoom
+ 103%
Activate Windows
Go to Settings to activate Windows
Close
Chưa có bình luận nào.

Thông tin

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

Share this media

Back
Bên trên Bottom