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: 12496
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

Step 1: Write an application that prompts the user two integers Step

This answer was rated:

Step 1: Write an application that prompts the user two integers

Step 2: Prompt the user to enter an option 1-4. See below for the definition of the options.
1. Add the two integers
2. Subtract the second integer from the first
3. Multiply the integers
4. Divide the first integer by the second. See step 3 for additional instructions.

Display the results of the arithmetic.

Step 3: Display an error message if the user enters an option other than 1 through 4 or if the user chooses the divide option but enters 0 for the second integer. Please note a use of a nested if will be needed to determine if the second integer is 0.

Step 4: Debug and save the class as MathOptions.java

Step 5: Delete the if.... else statements that currently determine which number the user entered, and then replace them with a switch structure.

Step 6: Debug and save the class as SwitchOption.java

Additional notes: Include comments to reflect each step above.
Hi,
Welcome here.
My name is XXXXX XXXXX I will help you.
What is the deadline?
Customer: replied 3 years ago.


Hi,


Thanks and it is due by midnight tonight

Rachel,
Download answers from here:
java
MathOptions.java

java
SwitchOption.java

or
http://ge.tt/7M49F7x

You can ask me again using "For LogicPro only" at the start of your questions like other customers 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!

Rachel,

I see you left 'bad service' rating without my mistake. It will affect my ratings. We expect if you need anything else, you would reply.

I gave you prompt and right answers

Let me know if there is anything else I can do to get good rating.

Customer: replied 3 years ago.


I'm sorry I clicked it by a mistake send again please.

THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
LogicPro and 4 other Homework Specialists are ready to help you