Skip to content

leonokida/expression-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a C program that calculates mathematical expressions, written in nested parentheses.
It was developed as an assingment for the Algorithms and Data Structures III (CI1057) course of the Federal University of Paraná (UFPR).

Data Structure used

The main data structure used in this assignment was a binary tree, whose nodes are either numbers or operations.
It is built from the input string

How to use it

To use it, execute the following commands inside the project directory:

$ make
$ ./analisa_expressao

Then insert an mathematical expression, written in nested parentheses, such as (*(5)(+(4)(3)).
The result of the expression will be printed soon after it.

Authors

This project was developed by @leonokida and @guicarboneti.

About

An expression calculator made with a binary tree data structure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors