C Program To Find Prime Numbers Between Range, using While Loop

preview_player
Показать описание

Lets write a C program to find and print/display all the prime numbers between 2 integer values input by the user, using nested while loop.

Prime Number: Any natural number which is greater than 1 and has only two factors i.e., 1 and the number itself is called a prime number.

C Programming Interview / Viva Q&A List

C Programming: Beginner To Advance To Expert
Рекомендации по теме
Комментарии
Автор

When I use your code. 0 and 1 shows up in a range of 0-41. But 0 and 1 are not Primer NUMBERS. Thanks

spicychicken
Автор

Sir can u explain me about flag n inum

Dsp_