PRF192_-_PE_-_SP_2024_-_s_7_1505.webp
sunny_day

PRF192_-_PE_-_SP_2024_-_s_7_1505.webp

Question 5:
(1 mark, file to be edited: Q5.c)
Your program allows users to enter an array of 'n' integers, where 'n' is entered by the user.
The user is asked to continue entering values for two integers 'v' and 'p'. The program then inserts 'v' at index 'p' in the array.
Print the elements of the array to the screen
Below is an example:
n = 4; array = (9, 0, 1, 8); v = 7; p = 2
4
9018
72
OUTPUT:
90718
Press any key to continue
Zoom
+ 100%

Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_PE_-_SP_2024_-_s_7_1505.webp
File size
103 KB
Dimensions
1351px x 772px

Share this media

Back
Bên trên Bottom