The code reads in an infix from the user and outputs if it is valid. It then convert it into a post fix. A queue is created with two values pushed back. The top of the queue is printed. The pop function pops the top value and the new top value is printed. Then the size of the queue and if it’s empty is printed. For the convertToPostfix function to work, spaces must be add in between each character/integer.
-
Notifications
You must be signed in to change notification settings - Fork 0
navi-kaur/assignment3_303
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published