The George Washington University
School of Engineering and Applied Science
Department of Electrical Engineering and Computer Science
CSci 131 -- Data Structures
Lab #8
For labs meeting on Oct. 20-21-22, 1998
Write a very simple test program, similar to Test_Employees,
that repeatedly
- prompts the user for a VString representing an infix expression
with no parentheses
- calls RPN_Priorities (Prog. 7.6) to convert the expression
to RPN
- displays the RPN string
Use VStrings and VString.IO.
Test this for a large number of expressions. You can just put the program
in an endless loop and quit by pressing ctrl-C.
Now do Exercise 6, p. 311.