PRF192_-_PE_-_SP_2025_-_s_2_3462.webp
E

PRF192_-_PE_-_SP_2025_-_s_2_3462.webp

☑Kizspy.me
5015
Paper No: Z
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
5
943 16 8
2
OUTPUT:
81 16 256
Press any key to continue
Question 9:
(1 mark, file to be edited: Q9.c)
Vaux am allows the war to antara list of mendunt name in leannested by commal
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Share this media

Back
Bên trên Bottom