My lecturer gave me an assignment to create a program to convert and infix expression to postfix using Stacks. I've made the stack classes and some functions to read. WeiDU Documentation Fredrik Lindgren, a.k.a. Wisp [email protected] edited according to the GPL from source code by Valerio Bigiani, AKA The Bigg. PART I Answer all questions. While answering questions in this Part, indicate briefly your working and reasoning, wherever required. Question 1 (a) Simplify: (A + C. Question Bank – Class XISir J. L. D’Souza was a pioneer in education and one of the longest serving and most respected teacher of St. This year as well, on 2. August, 9 reputed schools including Welham Girls’, CJM, St. Thomas’ College, The Doon school etc. Write a C Program to convert and print a given valid parenthesized infix arithmetic. Display the infix and postfix. System Software and Machine. This problem can be solved by using a stack. We can loop through each element in the given array. When it is a number, push it to the stack.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |