1. Homepage
  2. Programming
  3. INFO-3140 Object-Oriented Analysis and Modeling - Project 2: Expression Evaluator

INFO-3140 Object-Oriented Analysis and Modeling - Project 2: Expression Evaluator

Engage in a Conversation
CanadaFanshawe CollegeINFO-3140INFO3140Object-Oriented Analysis and ModelingExpression EvaluatorC++

Project 2: Expression Evaluator CourseNana.COM

Project Description

Complete the Visual C++ 2019/C++ 20 console application project that implements the Expression Evaluator base code (provided) that reads integers and outputs the result.   On the existing code base, you must implement the infix to postfix algorithm (Shunting yard algorithm by Edsger Dijkstra), then implement a postfix to result algorithm (Postfix algorithm). CourseNana.COM

Advanced requirements are graded only if the base (shunting yard and postfix algorithm) is complete and all test cases are working.   The advanced requirements are to implement: CourseNana.COM

1.     Real data type. CourseNana.COM

2.     Mixed integer and real expressions. CourseNana.COM

3.     Boolean data type along with its appropriate operators (AND, OR, NOT, XOR, NAND, NOR, XNOR) and real data types from the console and outputs the result.  CourseNana.COM

4.     Errors in the expression should be reported to the users and the program should continue operation (so program does not crash). CourseNana.COM

5.     Variables CourseNana.COM

6.     Stored Results (requires variable) CourseNana.COM

Note: Additional details, algorithms, design discussion will be provided in class. CourseNana.COM

            CourseNana.COM

Bonus features:

1.     Add the Gregorian data type from Project 1. CourseNana.COM

2.     You’ll need to add the packaged day, month, and year objects (integer only) CourseNana.COM

3.     You’ll need operation objects to handle the day/month/year functions and the Gregorian constructor. CourseNana.COM

4.     Create a specialized Gregorian operand (called now) that initializes to the current date. CourseNana.COM

5.     You do not need to handle time of day. CourseNana.COM

6.     Your objective is to be able to process expressions such as:
Gregorian(2019,10,10) + months(2) - days(5)
now > Gregorian(2019,10,8)+days(20) CourseNana.COM

Get in Touch with Our Experts

WeChat WeChat
Whatsapp WhatsApp
Canada代写,Fanshawe College代写,INFO-3140代写,INFO3140代写,Object-Oriented Analysis and Modeling代写,Expression Evaluator代写,C++代写,Canada代编,Fanshawe College代编,INFO-3140代编,INFO3140代编,Object-Oriented Analysis and Modeling代编,Expression Evaluator代编,C++代编,Canada代考,Fanshawe College代考,INFO-3140代考,INFO3140代考,Object-Oriented Analysis and Modeling代考,Expression Evaluator代考,C++代考,Canadahelp,Fanshawe Collegehelp,INFO-3140help,INFO3140help,Object-Oriented Analysis and Modelinghelp,Expression Evaluatorhelp,C++help,Canada作业代写,Fanshawe College作业代写,INFO-3140作业代写,INFO3140作业代写,Object-Oriented Analysis and Modeling作业代写,Expression Evaluator作业代写,C++作业代写,Canada编程代写,Fanshawe College编程代写,INFO-3140编程代写,INFO3140编程代写,Object-Oriented Analysis and Modeling编程代写,Expression Evaluator编程代写,C++编程代写,Canadaprogramming help,Fanshawe Collegeprogramming help,INFO-3140programming help,INFO3140programming help,Object-Oriented Analysis and Modelingprogramming help,Expression Evaluatorprogramming help,C++programming help,Canadaassignment help,Fanshawe Collegeassignment help,INFO-3140assignment help,INFO3140assignment help,Object-Oriented Analysis and Modelingassignment help,Expression Evaluatorassignment help,C++assignment help,Canadasolution,Fanshawe Collegesolution,INFO-3140solution,INFO3140solution,Object-Oriented Analysis and Modelingsolution,Expression Evaluatorsolution,C++solution,