Skip to content

Given an expression of binary operators as input in the character array, you are required to design a solution in C++ for converting that expression in prefix, postfix and then evaluating that expression. Also you will check its validity (correct use of brackets and operators). The intend is for the given input expression in character array 1. C…

Notifications You must be signed in to change notification settings

raorafay-dev/DSA-Assignment-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

DSA-Assignment-2

Given an expression of binary operators as input in the character array, you are required to design a solution in c++ for converting that expression in prefix, postfix and then evaluating that expression. Also you will check its validity (correct use of brackets and operators). The intend is for the given input expression in character array 1. Check validity of the expression 2. Convert to Prefix expression 3. Convert to Postfix expression 4. Evaluate the given expression Assignment No  2_page-0001 Assignment No  2_page-0002

Sample output:

p200636_Example output Assignment # 2

About

Given an expression of binary operators as input in the character array, you are required to design a solution in C++ for converting that expression in prefix, postfix and then evaluating that expression. Also you will check its validity (correct use of brackets and operators). The intend is for the given input expression in character array 1. C…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages