This is a bulb tester program, it determines whether a bulb should be subjected to a functional test, structural test or none. A bulb is subjected to a test based on the table below.
Random percentage | Test | Symbol |
---|---|---|
15% | Structural test | S |
6% | Functional test | F |
other | No test required | - |
- JavaScript
nodeJs
$ git clone git@github.com:Felix45/bulbtest.git
$ cd bulbtest
To run the program please type the command below in the terminal
$ npm install
$ node bulb.js
👤 Name | Github | ||
---|---|---|---|
Felix Ouma | @Felix45 | @Felix_Atonoh |
- Special thanks to Jochen Seeber for giving me this problem to work on