Question: pleass write java code for expression below from the scratch paper. i only need java code. code should only show accept or reject when completed.

pleass write java code for expression below from the scratch paper. i only need java code.
code should only show accept or reject when completed.
 pleass write java code for expression below from the scratch paper.
i only need java code. code should only show accept or reject

Course Project 2: Design A Simple Calculator Problem: Design the DFA machine for a simple calculator, where = (0, 1,2 3, 4, 5, 6, 7, 8, 9, .,,.O[,]},"[rs used for only one operation each time (e.g. [3.14.2] embedded [...]] is not allowed. Steps of the project (1) Design a regular expression r for real number expression. A real number can be negative or 4 5 67 solu2@48 positive (e.g.. -2.5 and 0.52). A real number expression is an expression of real numbers connected by four arithmetic operations +.-x,,/ and priority [ (2) Design a DFA for accepting the regular language L(c). You can first design a NFA and then convert it to a DFA (3) Design a regular grammar to generate the regular language LG) (4) Implement the DFA using C# or Java (ie, accept the strings in language r) h mp is a string and output is "accepted" or "rejected" The project report must contain the following components: . User instructions: Stepwise instructions that tell the customers s how to use the calculator. Detailed explanation for (1), (2), (3). Implementation: code and test result. Input: a string of real number expression inputted from key board; Output: accept or reject. Team work (workload of each team member and collaboration in the team).o14 Power point slides for presentation. . Op

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!