InterviewSolution
Saved Bookmarks
| 1. |
Wap to count the number of prime numbers stored in an integer array of size 20 |
|
Answer» arr[] = {1, 3, 4, 5, 7}Output: 3There are three primes, 3, 5 and 7Input: arr[] = {1, 2, 3, 4, 5, 6, 7}output 4 |
|