1.SA.01: WK1: Code Challenge
2.Date: 24/03/2024
3.Author: Barmao Brian Kipchumba
4.Description These repository contains three code solutions foreach of the following challenges respectively;
A.Grade Calculator Write a program 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 than 40.
B.Speed Detector
Write a program that takes as input the 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.
For example, if the speed is 80, it should print: “Points: 2”. If the driver gets more than 12 points, the function should print: “License suspended”.
C.Net Salary Calculator
Write a program whose major task is to calculate an individual’s Net Salary by getting the inputs of basic salary and benefits. Calculate the payee (i.e. Tax), NHIFDeductions, NSSFDeductions, gross salary, and net salary.
NB: Use KRA, NHIF, and NSSF values provided in the link below.
5.Installation You use git clone to be able to download the documents in the GitHub
6.Installation Requirements Git
7.Installation instruction
Git clone https:[email protected]:BarmaoBrian/SA.01-WK1-Code-Challenge.git
8.Technologies used HTML CSS Github Javascript
9.Support and contact details github.com/barmaobrian
10.License The content of this site is licensed under the MIT license Copyright (c) 2024.