Open a terminal / command line interface on your computer
Clone the repo by using the following:
-
git clone https://github.com/kericho/code-challenge-resubmit.git
-
Be patient as it creates a copy on your local machine for you.
-
Change directory to the repo folder:
cd code-challenge (Optional) Open it in Visual Studio Code
In this only js script was used.
one has to have a visual studio code to run this test. To get the code..
- Cloning the repository:
- https://github.com/kericho/code-challenge-resubmit.git
- Move to the folder you need your files to be stored.
- Install the node in order for you to run the tests.
- Use node index.js to run the test.
- Once you have run the test you will be required to enter the values or figures for example in paye calculator the amount of gross salary and it will eventually display the result.
This application is created to maintain a record of student database. Once entered a record cannot be deleted or modified. The Teachear can get list of all students or a particular student grades. It mainly uses else if statements to determine the students grade.
This application is created to maintain a record of vehicles speed and its demerits. The vehicle license is suspended if the driver drives past 125km/hr having a dimerit of 12 points.
- In this challenge one is able to know his or her gross salary by running the node index.js on his terminal on vs code. Once it have run the input is display and requires on to enter the gross salary. The outome is then displayed .
- The net salary of employee is deducted by through tax rates, nhif,nssf and other benefits. In this case one is used to use the condion if else if to determine the total salary after all deductions have been included. This is the example of the income "const salary = (gross) => { console.log(gross - (gross*taxRate(gross)) - nssfDeduction - nhifDeduction(gross)) } "
This project was contributed to by:
- Elvis Rono License The project is licensed under Apache 2.0.