/calculator

calculator

Primary LanguageJavaScript

Calculator

By Rosemary Ojwang

A simple calculator that returns results of arithmetic calculations.

Technologies Used

  • HTML
  • JavaScript

Description

The calculator has 4 JavaScript functions that perform addition, multiplication, subtraction and division on numbers entered by users, when prompted to do so through window.prompt() method. The window.alert() method then displays the results of all arithmetic operations performed on the numbers.

Setup/Installation Requirements

  1. Clone this repository down to your desktop.
  2. Navigate to the top level of the directory.
  3. Open index.html from your browser.

License

_MIT

Copyright (c) 2020 Rosemary Ojwang