GithubHelp home page GithubHelp logo

code-challenge-wk-1-toy-problems-'s Introduction

Code challenge Wk :1 Toy Problems

This repository contains solutions to three different challenges: a Student Grade Generator, a Speed Detector, and a Net Salary Calculator. These challenges are designed to test basic to intermediate JavaScript programming skills, focusing on conditional statements, mathematics, and user input handling.

Description

  • Student Grade Generator: Takes student marks as input (between 0 and 100) and outputs the corresponding grade based on a predefined scale.
  • Speed Detector: Accepts a car's speed as input and calculates demerit points based on how much the speed exceeds a certain limit. It also determines if a license should be suspended after accumulating too many demerit points.
  • Net Salary Calculator: Computes an individual's net salary by considering basic salary, benefits, and deductions including tax (PAYE), NHIF, and NSSF, using simplified rates for demonstration purposes.

Set Up Instructions

To run these programs locally on your machine, follow these steps:

  1. Ensure you have Node.js installed on your computer.
  2. Clone this repository to your local machine using Git:
    git clone https://github.com/YOUR_GITHUB_USERNAME/YOUR_REPOSITORY_NAME.git
    
  3. Navigate into the project directory:
    cd YOUR_REPOSITORY_NAME
    
  4. Run the program using Node.js. For example, to run the Student Grade Generator:
    node studentGradeGenerator.js
    

code-challenge-wk-1-toy-problems-'s People

Contributors

jomonya 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.