Question 2:
(1 mark, file to be edited: Q2.c)
Users are required to enter a non-negative integer variables n using the keyboard (STDIN).
The system displays the sum of the last three even numbers in range from 0 to n.
Below is an example of how the program will run:
Enter the value 6 for 'n'
6
OUTPUT:
12
Press any key to continue
Question 3:
(1 mark, file to be edited: Q3.c)
Your program allows users to enter 4 characters.
The system displays the entered characters following alphabetical order. There is a space character in between any two adjacent characters.
Below is an example of how the program will run:
Zoom
+ 100%
Close