How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask LogicPro Your Own Question
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13051
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
29751445
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

For LogicPro Only Complete the Java Program

This answer was rated:

For LogicPro Only Complete the Java Program
Hi,
Welcome back and thank you for asking me.
Please provide complete requirements.
If you have any file(s), Zip all files; upload the zipped file to http://wikisend.com or http://ge.tt and post download link here.

Customer: replied 3 years ago.

Thanks. Sorry I thought I added it into the question header. http://wikisend.com/download/431138/Assignment4.docx

what is the deadline?
Customer: replied 3 years ago.

11/9 around 10-11 pm

ok

Download:
http://www.wikisend.com/download/346602/BalancedExpressionPostfix.java

 

here are sample runs:

Enter an infix expression sepearted by spaces e.g. ( 4 * ( 3 + 2 ) ): ( 10 % 3 )
Postfix Equivalent: 10 3 %
Expression value after postfix evaluation: 1.0


Enter an infix expression sepearted by spaces e.g. ( 4 * ( 3 + 2 ) ): ( 4 * ( 3 + 2 ) )
Postfix Equivalent: 4 3 2 + *
Expression value after postfix evaluation: 20.0


Enter an infix expression sepearted by spaces e.g. ( 4 * ( 3 + 2 ) ): ( 4 * ( 10 % 3 ) )
Postfix Equivalent: 4 10 3 % *
Expression value after postfix evaluation: 4.0

Enter an infix expression sepearted by spaces e.g. ( 4 * ( 3 + 2 ) ): 3 + 2
Postfix Equivalent: 3 2 +
Expression value after postfix evaluation: 5.0

Enter an infix expression sepearted by spaces e.g. ( 4 * ( 3 + 2 ) ): 1
Postfix Equivalent: 1
Expression value after postfix evaluation: 1.0



Enter an infix expression sepearted by spaces e.g. ( 4 * ( 3 + 2 ) ): ( 4 * ( 3 + 2 )
( 4 * ( 3 + 2 ) has mismatched parenthesis

 

 

You can ask me again using "For LogicPro only" at the start of your questions like you do to get instant answers.

It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

Remember, if for any reason you are unsatisfied with my answer, we can continue the conversation until you’re satisfied and rate my answer as excellent. I can address follow up questions on original requirements at no extra charge and I’m always here to help.

Thank you for using this site!

Customer: replied 3 years ago.

For the expression value after postfix evaluation I'm not always receiving the correct number and it defaults back to 0.0. For instance ( 10 % 3 ) will come out as 0.0, but 5 + 3 will come out as 5.0.

THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
LogicPro and 2 other Homework Specialists are ready to help you
Hi again,
Just following up with you to see how everything is going and if you have more questions for me.
You can ask me again using "For LogicPro only" at the start of your questions like you do to get instant answers.
It will ensure that question is for me.
Please bookmark my profile page:
http://www.justanswer.com/homework/expert-logicpro/
so you can come back and ask me a question anytime.
If you need any additional information on this answer, please don't hesitate to ask by clicking on 'Reply to Expert', and I will reply as soon as possible.
I hope you found the information in my answer helpful, and if so, please let me know, here. Thank you!
Thanks very much for using Just Answer!
Best wishes
LogicPro

Related Homework Questions