Professional Documents
Culture Documents
W PRF192 Workshop2 3 Test4
W PRF192 Workshop2 3 Test4
Time: 60 minutes
Students use files: WK234.c to write following tasks and submit to the CMS system.
Q2 (4 points - workshop2): Write a function to print out list of NOT PRIME NUMBERS from
1 to N.
Hint function prototype: void printNotPrime(int N)
Q4 (3 points - workshop3): Write a function to print out the menu and accept user choice
as following:
Q5 (4 points - workshop3): Write a program that execute repeatedly using menu Q4 and
functions in Q1, Q2, Q3