2077 7

C Programming20775 marksDecision Making and Looping

Write a program to display first n prime numbers.

Write a program to display first n prime numbers. [5]

A prime number is a number greater than 1 that has no divisors other than 1 and itself. To display the first N prime numbers, we use a nested loop: - The outer loop counts how many primes have been found so far. - The inner loop checks whether each candidate number is prime. --- --- --- Step Desc...

Up nextWrite a program to find product of two integers using your own function.