Input & Output Of C & C++ Programming
Home
Write a program that displays first n prime numbers.
Input :
How many prime numbers : 5
Output
:-
a[1] = 2
a[2] = 3
a[3] = 5
a[4] = 7
a[5] = 11
Input :
How many prime numbers : 3
Output
:-
a[1] = 2
a[2] = 3
a[3] = 5
Newer Post
Older Post
Home
Home