4. Write a function that returns a list of even elements and sorts them in ascending order from an unsorted array of integers (1.5 marks)
5. Write main() function to invoke the 4 functions above:
+ Offertext menu for user choice to execute the functions. (1 mark)
+ For each choice, demonstration of successfully running the selected function (0.5 mark for each).
Note:
1. Students are only allowed to use DevC++ software and offline documents (on personal computers)
2. Students only submit a single source code file named PRF192_FA24.c
3. The program must run without any compile errors or the student will get zero marks. (theprogram cannot run).
4. The Internet is only used to download questions and upload assignments. Do not use the Internet in any things.
5. The exams are similar from 40% including function names, variable names,...will get a zero mark.
Zoom
97%
Close