Skip to content

Ianyourgod/math-interpreter-in-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Math Interpreter In C

This is a simple math interpreter written in C. It can evaluate simple math expressions and print the result. You can use +, -, *, /, and (). I made this just as a basic exercise to learn c.

How to use

Running it is simple. Just have a c compiler like gcc installed and run the following command:

  • Linux & Mac:
gcc main.c -o main && ./main
  • Windows:
gcc main.c -o main && .\main.exe

You can then type in a math expression and press enter. The program will then print the result.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages