elements entered from the keyboard.
The program prints to the screen the elements are arranged in ascending order in the order of even numbers first, odd numbers later.
An example of how the program runs is as follows:
Enter: n = 6; array = {6, 9, 8, 2, 7, 3}
4 of 4
Paper No: 3
6
698273
OUTPUT:
268379 Press any key to continue
Question 6:
(1 mark, file to be edited: Q6.c)
The program allows the user to enter a string of characters from the keyboard, with a maximum length of 100.
Then, check the characters in the entered string. If the check character is an uppercase letter, it will be converted to a lowercase letter.
Print to the screen the character string after the conversion has been completed.
Below is an example:
s = "C Programming"
Zoom
+ 100%
Close