Git Product home page Git Product logo

first-code-challenge's Introduction

Title: First-Code-Challenge

Description: The Code Challenge Involves Three Challenges

Contains amazing challenges for managing tasks and increasing performance and productivity.

Challenge 1: Student Grade Generator

The code pompts the user to input student marks and the input should be between 0 and 100. So the user iputs a score between 0 and 100 and the code returns the grade according to the user input. This is how the marks are interpreted. A > 79, B - 60 to 79, C - 59 to 49, D - 40 to 49, E - less 40.

Challenge 2: Speed Detector

This is a challenge whereby 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”.

Challenge 3: Net Salary Calculator

This is the final program whose major task is to calculate an individual’s Net Salary by getting the inputs of basic salary and benefits. It calculates the payee (i.e. Tax), NHIFDeductions, NSSFDeductions, gross salary. The final result is the Net Salary of the individual which is achieved after all the deductionsare made. The figures used were obtained from the links below. https://www.aren.co.ke/payroll/taxrates.htm https://www.kra.go.ke/en/individual/calculate-tax/calculating-tax/paye

Authors and Liense:

Author: Brian Rono [email protected] License: MIT License (see LICENSE file for details)

first-code-challenge's People

Contributors

brianrono avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.