/ConsoleCalculator-JavaScript

A calculator that runs in the console using JavaScript with Node.js. The calculator has arithmetic and vowel counting modes.

Primary LanguageJavaScript

Console Calculator

Description

A calculator that runs in the console using JavaScript with Node.js. The calculator has arithmetic and vowel counting modes.

Example

Console Calculator - Vowel Mode

Technologies Used

  • JavaScript
  • Node.js

Goals

  • Refresh skills in JavaScript with Node.js
  • Utilise JavaScript to calculate arithmetic operations and count vowels in a string provided by the user.
  • Scripts are separated into different modules that perform separate functions.
  • Input data type is validated. If the user enters invalid input, the user is prompted again until a valid input is entered.

Getting Started

  1. Visit a demo here.
  2. Click the green button to run the code.
  3. Enter 1 or 2 to select the desired mode.
  4. Follow the instructions provided to perform calculations.
  5. The final result will be printed in the terminal!

Contribution Guidelines

If you would like to contribute code, identify bugs, or propose improvements, please fork this repository and submit a pull request with your suggestions. Below are some helpful links to help you get started:

  1. Project's main repository
  2. Project's issue tracker