Skip to content

aliyaalias19/prime_numbers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

prime_numbers

Ensure that PHP is installed on your computer. You can download it from the official PHP website (https://www.php.net/downloads.php). You can install XAMPP, which includes PHP along with Apache and other tools. You can download XAMPP from the official website (https://www.apachefriends.org/index.html). Download the repository as a ZIP file and extract it to a local directory. Change the current directory to the htdocs directory in the XAMPP installation folder. For example, on Windows, it could be C:\xampp\htdocs. Open a terminal such microsoft edge or any of your choice.

Execute the PHP script using the following command: (project_directory)/php prime_numbers.php

Verify the Output: After running the script, you should see a message saying "Output saved to 'output.json' file." This indicates that the script has executed successfully. Open the project directory and locate the output.json file. Open it to verify the generated array of numbers.

About

There was a tale when 2 prime numbers collided and a big bang happened. Scientists found out the 2 prime numbers are 3 and 5 but they need a model to generate an array of numbers to predict when the big bang will happen again.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages