Lab - Infix Expression


Objectives


Discussion


Setup

We need to:

  1. Create a directory called infix2prefix in your cs23001 folder

  2. Create a file named infix2prefix.cpp in the infix2prefix directory

  3. Copy the data3-1.txt file from the shared folder to your infix2prefix directory


Assignment

Create a function that converts an infix expression to prefix expression.

Your function should operate properly on any valid, fully parenthesized infix expression ended by a ';'. Each token of the expression will be separated by a space (' ').


Requirements

The following should be true when you are done, NAMES MUST MATCH EXACTLY:


URL: https://data-structures.cs.kent.edu/labs/Lab11
Last update: EST