photo_4_2023-11-04_13-47-24.jpg
vqtung2k4

photo_4_2023-11-04_13-47-24.jpg

Question paper (build 07.05.20.19)
Question 5:
(2 marks, file to be edited: Q5.c)
Your program allows users to enter array of n integers, where n is entered by the user (n<20).
. If the array is symmetric, the program displays: 1
Otherwise the program displays: 0
Below is some examples:
n=5 array = (2,2,3,2,2), symmetric
n=5 array = (2,2,3,4,2}, asymmetric
4 of 4
Paper No: 10
522322
OUTPUT:
Press any key to continue
Press any key to continue
n=4 array = (1,2,2,1), symmetric
n=4 array = (2,2,1,2), asymmetric
Zoom
FUO
+ 100%
CUTPUT:
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
photo_4_2023-11-04_13-47-24.webp
File size
125 KB
Dimensions
1280px x 960px

Share this media

Back
Bên trên Bottom