inputGrade-variable for the input Garde
inputSpeed-variable for the input Speed
inputSalary-Variable for the Input Salary
your Code should come after // write Code For the Code challenge
assign your output to the finalOutput variable
STUDENT GRADE GENERATOR: About the program: This is a simple javascript program that prompts the user to put the marks that the student has gotten and then prints out the grade of the student as the output.
Instructions on how to go through with creating the program;
To begin with fork the assignment and create a new respository on your github account then understand the program; this program is simply telling us to propmt the user to give us a grade whenever we place a student marks
The process of creating the program: first,prompt the user by using the word "prompt" then declare the necessary variables, lastly use the if ,else conditions to navigate through the program. put the output you would want it to showcase then go live,enter the student mark ,click on get grade,then the output will appear.
SPEED DETECTOR (TOY PROBLEM); About the program: This is a simple javascript program that prompts the user to input the speed of a car (in kilometres per hour) and calculates the demerit points for the driver based on the speed.if the demerit points are more than 12 then the program will print "license Suspended".
Instructions on how to navigate through the program first understand the program and think of a way you would use to takle the problem. the process of creating the program is: first prompt the user by using the prompt("")
declare the variables :speedlimit and demerit points after that use if,else conditions to navigate through the code,put the output expected,go live,input the speed and then click on points.
this program is written strictly using the JavaScript programming language;
NET SALARY CALCULATOR (TOY PROBLEM); About the program: This is another program that prompts the user to input the basic salary and benefits in order for it to be able to Calculate the payee (i.e. Tax), NHIFDeductions, NSSFDeductions, gross salary, and net salary.
Instructions and process on how to create the program first understand the question you are asked ; Declare the variables needed for example the: The Tax threshhold(exempt),the KRA RATES,the nhif rates,the nhif threshhold(exempt), Prompt the user to enter the basic salary and the benefits of the individual use the if else condition to solve the problem in the program the console.log to get the outputs of the calculated payee (i.e. Tax), NHIFDeductions, NSSFDeductions, gross salary, and net salary. put your expected output
after all that go live and try it by entering the basic salary amount and the benefits amount then click on "get net salary" and the output will showcase it self there.
after that git add. , commit and push your assignment and then submit your github url of the concerning respository. YOU ARE DONE WITH YOUR FIRST CODE CHALLANGE.
AUTHOR: This project was created by WINNIE JOMO([email protected])