PRF192_-_PE_-_SU_2023_281.webp
T

PRF192_-_PE_-_SU_2023_281.webp

  • Media owner Tsuyu89
  • Ngày thêm
Press any key to continue
Question 5:
(1 mark, file to be edited: Q5.c)
The program allows the user to input an integer array of 'n' elements. With 'n' and the value of the elements entered from the keyboard.
The program prints to the screen that the elements are sorted in descending order of odd numbers first and even after, with each printed element on a line.
An example of how the program runs is as follows:
4 of 4
Paper No: 10
Enter: n = 6; elements: 10, 9, 8, 5, 7, 3
6
10 9 8 5 7 3
OUTPUT:
9
7
5
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRF192_-_PE_-_SU_2023_281.webp
File size
41.5 KB
Dimensions
1536px x 793px

Share this media

Back
Bên trên Bottom