Giter Club home page Giter Club logo

code_challenge's Introduction

Code_challenge

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

YOUR README DESCRIPTION STARTS HERE

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])

code_challenge's People

Contributors

otienosteve avatar winniegithubrit 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.