Skip to content

DeepController/simple-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SimpleCalc

An info 449 Assignment

Welcome to use SimpleCalc. This is a command line calculator that helps you do some simple calculation. It supports negative and decimal numbers. It also supports command line arguments.

Usage: calc <numbers... operation>
Or simply calc

Expression should be of the form "1+2" or "7*5"

Number list and operation shouble be of the form "1 2 3 avg" or "9 8 7 count"
Support operations:
avg for average
count for counting elements
fact for factorial (fact only accept one positive integer less than 20)

About

INFO 449 Assignment 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages