Skip to content

tusharhero/c-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README for c-calc

C-calc

A Calculator written in C.

It will only work for basic arithmetic operators like, +, - , *, /, ^. And it also supports ( and ) (parenthesis) but no order of precedence support other than that.

Sample session

./a.out
C-calc  Copyright (C) 2023  Tushar Maharana
This program comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions of the GNU General Public License version 3.

Hit enter twice to exit.

> 1+2*(3+4)/(1-3)
-10.500000
> 1+23*3-27
45.000000
> ⏎                                                                                                                                                                                           

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published