PRF192_-_FA_2024_-_Block_5_-_PE_-_s_5_3220.webp
T

PRF192_-_FA_2024_-_Block_5_-_PE_-_s_5_3220.webp

Press any key to continue
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
Question 6:
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_FA_2024_-_Block_5_-_PE_-_s_5_3220.webp
File size
120.2 KB
Dimensions
1920px x 813px

Share this media

Back
Bên trên Bottom