Press any kеу tо соntinuе
Question 7:
(1 mark, file to be edited: Q7.c)
The program allows the user to enter an array of n integers from the keyboard.
Then, continue to enter an integer k.
The program prints out the elements of the array with values other than k in ascending order.
Below is an example:
Enter n = 6, array = (5, 9, 2, 8, 9, 1), k = 9
5 of 5
Paper No: 13
Zoom
88%
Close