Skip to content

This program prompts the user to enter a number, then it calculates and prints the first 3 prime numbers after the user input number. It uses a nested loop to check if a number is prime or not. If a number is prime, it is printed and the count is incremented until 3 prime numbers are found after the input number

Notifications You must be signed in to change notification settings

Miryoqub006/Program-for-determining-prime-numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Prime Number Generator

This program generates the first 3 prime numbers after logging into GitHub.

Installation

  1. Clone the repository to your local machine.
  2. Make sure you have Python installed.
  3. Run the program using C# vscode .

Usage

After running the program, it will display the following prime numbers:

  • 2
  • 3
  • 5

Contributors

  • Miryoqub Salimov

License

none

About

This program prompts the user to enter a number, then it calculates and prints the first 3 prime numbers after the user input number. It uses a nested loop to check if a number is prime or not. If a number is prime, it is printed and the count is incremented until 3 prime numbers are found after the input number

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published