Hello Spring @2024 semester
OUTPUT:
Hello Spring semester
Press any key to continue
Question 10:
(1 mark, file to be edited: Q10.c)
Your program allows users to enter an array of 'n' integers, where 'n' is entered from the keyboard.
Find and print to the screen the sum of the prime numbers in the entered array.
Below is an example:
Enter: n = 6; array = {4, 3, 9, 7, 11, -2)
6
4 3 9 7 11-2
OUTPUT:
21
Press any key to continue
Zoom
+ 100%
Close