PRF192_-_PE_-_SU_2024_-_Block_5_-_s_4_2623.webp
T

PRF192_-_PE_-_SU_2024_-_Block_5_-_s_4_2623.webp

  • Media owner Tengen95
  • Ngày thêm
7
25 15 9 15 15 20 20
OUTPUT:
1-25
3-15
2-20
Press any key to continue
Question 8:
(1 mark, file to be edited: Q8.c)
Your program allows the user to enter an integer array of 'n' elements from the keyboard.
The program swaps the places of the first largest and smallest odd number with each other.
Below is an example:
Enter n = 7; array = {2, 5, 8, 0, 9, 6, 20}
258096 20
OUTPUT:
298056 20
Press any key to continue
Question 9:
(1 mark, file to be edited: Q9.c)
Zoom

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

Thông tin

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

Image metadata

Filename
PRF192_-_PE_-_SU_2024_-_Block_5_-_s_4_2623.webp
File size
53.3 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom