Professional Documents
Culture Documents
2
(Duration: 60 minutes)
Question 1 (8 marks):
Write a program to input an array of 10 integers. Display to the screen arrays just
entered and show all prime numbers in the array
Question 3 (2 marks):
Write a program that prints out the triangle * is isosceles triangle
*
***
*****
*******
*********
***********