PRF192_-_SP_2023_-_PE_170.webp
hirosi212

PRF192_-_SP_2023_-_PE_170.webp

exists between any two printed indexes.
Below is an example when 'n' = 6; array = {6, 8, 4, 5, 7, 9); sum = 15
5 of 5
Paper No: 3
6
684-579
15
OUTPUT:
5 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 even numbers with each other.
Below is an example:
Enter n = 7: array = {5.2.8.0.9.6.201
+ 100%
Zoom
Close
  • Like
Reactions: mrsiro
Chưa có bình luận nào.

Thông tin

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

Share this media

Back
Bên trên Bottom