Skip to content

Vickynjoroge/Code_Challenge1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a javaScript file that prompts the user to input student marks. The input should be between 0 and 100. Then output the correct grade: A > 79, B - 60 to 79, C - 59 to 49, D - 40 to 49, E - less 40.

This a program takes speed as input. Example, speed of a car e.g 80. If the speed is less than 70, it should print “Ok”. Otherwise, for every 5 km/s above the speed limit (70), it should give the driver one demerit point and print the total number of demerit points.

This is a JavaScript programme that is used to calculate an individual’s Net Salary by getting the inputs of basic salary and benefits. It calculate; the payee (i.e. Tax), NHIFDeductions NSSFDeductions gross salary net salary