This project was bootstrapped with Create React App.
To start the app, run yarn
to install packages, and then run yarn start
to run the app
- On startup, the program will prompt the user for the number of seconds (X) between outputting the frequency of each number to the screen.
- Every X seconds the program will display, in frequency descending order, the list of numbers and their frequency.
- If the user enters 'halt' the timer should pause.
- If the user enters 'resume' the timer should resume.
- If the user enters a number that is one of the first 1000 Fibonacci numbers, the system should alert "FIB"
- If the user enters 'quit', the application should output the numbers and their frequency, a farewell message, and finally terminate.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
TODO: Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
TODO:
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.