PRF192_-_PE_-_SP_2025_-_s_3_3464.webp
H

PRF192_-_PE_-_SP_2025_-_s_3_3464.webp

Kizspy.me
Question 8:
(1 mark, file to be edited: Q8.c)
Your program allows the user to enter an array of N integers and an integer M.
Find and print all perfect squares in the array. If found, compute their Mth power.
An integer that can be expressed as the square of another integer is called a perfect square. For
example: 9 3*3; 25 = 5*5
Below is an example:
Enter N = 5; array = {9, 4, 3, 16, 8); M = 2
9 4 3 16 8
562
OUTPUT:
81 16 256
Press any key to continue
Question 9:
(1 mark, file to be edited: Q9.c)
Zoom
+100%
Close
Chưa có bình luận nào.

Thông tin

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

Share this media

Back
Bên trên Bottom