Skip to content

TalentPath/terminal-based-calculator-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Instructions

Clone and Fork this Repository

Create 2 JavaScript files: one that will hold your calculators functionality and one that will take input from the terminal, call the functions defined in the calculator functionality module and output the calculation to the terminal

User input will be in this format

{mathmatical command} {number1} {number2}

i.e.,

add 5 10

The output will be in this format {number1} {appropriate operand} {number2} = {solution} i.e., 5 + 10 = 15

Your calculator should do the following operations:

  • Add
  • Subtract
  • Multiply
  • Divide
  • Remainder
  • Exponents

Helpful resources

About

Starter File to create a terminal based calculator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors