Skip to content

This is a C project in which the user enters a numerical expression. Most of the numerical expressions will contain some or all of these characters: '( )', '[ ]', '{ }'. Sadly, there are a lot of times where someone types the expression but forgets to open/close a bracket or closes the brackets in a wrong order, making the expression invalid. Th…

License

Notifications You must be signed in to change notification settings

K-Konstantinidis/Validity-Of-Numeric-Expression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Validity-Of-Numeric-Expression

This is a C project in which the user enters a numerical expression. Most of the numerical expressions will contain some or all of these characters:

'( )',

'[ ]',

'{ }'.

Sadly, there are a lot of times when someone types the expression but forgets to open/close a bracket or closes the brackets in a wrong order. This makes the expression invalid and there will be no result.

The purpose of this program is to check if the numerical expression is valid, more specifically if all the brackets have been opend and closed correctly.

The program solves the problem with the help of Stacks.

About

This is a C project in which the user enters a numerical expression. Most of the numerical expressions will contain some or all of these characters: '( )', '[ ]', '{ }'. Sadly, there are a lot of times where someone types the expression but forgets to open/close a bracket or closes the brackets in a wrong order, making the expression invalid. Th…

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages