100% Original, Plagiarism Free, Tailored to your instructions

Order Now!

Intro to Programming IP3

Intro to Programming IP3
For this assignment, you will be adding additional logic to handle exceptions, file output, and file input. Complete the following
Modify your handling of the quantity of items to include the following:
Only values in the range 1–99 are accepted.
Illegal or out-of-range values cause a reprompt for a valid input.
Up to 3 such requests for valid input are made, and the program terminates if a valid numeric in-range quantity is not entered by the customer.
Exception handling is used to accomplish this.
You should bundle all of this as a new method, such as getNumericInput( ), and then use a call to this new method in place of your existing quantity request code.
Modify your code that validates string input (like returning customer, color, crust, etc.) so that only correct responses are accepted. Check for yes or no, regular or deep dish, and so forth.
Modify your display of the cost of the product so that it appears properly formatted with a dollar sign and exactly two digits to the right of the decimal point.
Add a phone number to the collection of customer or product attributes. The phone number must be entered in the form (###) ###-####, where “#” is any digit (0–9) and the parentheses and hyphen are required. The space after the closed parentheses may or may not be present. You must create a method that handles the input and the validation of the phone number. You should use the Java java.util.regex.* pattern matching capabilities to validate the phone number.
A file (named “order.txt”) must be written that contains each of the above data items that constitute an order. The items must be written on separate lines in the file. No other information may be written to the file. You must be able to view the file using Notepad to verify that the information that it contains is complete and correct.
The order file only should be written if there are no validation errors whatsoever.
You should create a method (named “writeOrderFile( )”) that handles file output.
Create a confirmation method that reads the data values from the order file into separate variables. It then should create and display a confirmation that shows the values that were read. Each value should be identified using an appropriate label. Consider the following example:
Thank you for your order.
Name: Joe Blow
Returning customer: Yes
Color: blue
Phone: (123) 456-7890
Quantity: 3
Etc: etc.
Note: You must use this confirmation method in place of your existing code that creates the confirmation display.
New Content for Week 3
The Phase 3 Individual Project deliverables are as follows:
Save the program code that you just developed and ran successfully in a .zip file that includes all of your Java project files.
Update the Key Assignment design document that you started in Week 1 with a new date and project name.
Update your previously completed work based on your instructor’s feedback.
Perform a screen capture of each of the ordering system dialogs that display during execution just after you have entered the requested information. Place these screen captures in Week 3: Error Handling and File Input or Output.
Update your UML use case diagram to describe the additional information and capabilities.
Be sure to update your table of contents before submission.
Name your revised document “yourname_IT110_IP3.doc.”
Create a .zip file that contains your project document (including screen captures) and your Java source file or Eclipse project. Name your .zip file “yourname_IT110_IP3.zip”.

Our Service Charter

  1. Excellent Quality / 100% Plagiarism-Free

    We employ a number of measures to ensure top quality essays. The papers go through a system of quality control prior to delivery. We run plagiarism checks on each paper to ensure that they will be 100% plagiarism-free. So, only clean copies hit customers’ emails. We also never resell the papers completed by our writers. So, once it is checked using a plagiarism checker, the paper will be unique. Speaking of the academic writing standards, we will stick to the assignment brief given by the customer and assign the perfect writer. By saying “the perfect writer” we mean the one having an academic degree in the customer’s study field and positive feedback from other customers.
  2. Free Revisions

    We keep the quality bar of all papers high. But in case you need some extra brilliance to the paper, here’s what to do. First of all, you can choose a top writer. It means that we will assign an expert with a degree in your subject. And secondly, you can rely on our editing services. Our editors will revise your papers, checking whether or not they comply with high standards of academic writing. In addition, editing entails adjusting content if it’s off the topic, adding more sources, refining the language style, and making sure the referencing style is followed.
  3. Confidentiality / 100% No Disclosure

    We make sure that clients’ personal data remains confidential and is not exploited for any purposes beyond those related to our services. We only ask you to provide us with the information that is required to produce the paper according to your writing needs. Please note that the payment info is protected as well. Feel free to refer to the support team for more information about our payment methods. The fact that you used our service is kept secret due to the advanced security standards. So, you can be sure that no one will find out that you got a paper from our writing service.
  4. Money Back Guarantee

    If the writer doesn’t address all the questions on your assignment brief or the delivered paper appears to be off the topic, you can ask for a refund. Or, if it is applicable, you can opt in for free revision within 14-30 days, depending on your paper’s length. The revision or refund request should be sent within 14 days after delivery. The customer gets 100% money-back in case they haven't downloaded the paper. All approved refunds will be returned to the customer’s credit card or Bonus Balance in a form of store credit. Take a note that we will send an extra compensation if the customers goes with a store credit.
  5. 24/7 Customer Support

    We have a support team working 24/7 ready to give your issue concerning the order their immediate attention. If you have any questions about the ordering process, communication with the writer, payment options, feel free to join live chat. Be sure to get a fast response. They can also give you the exact price quote, taking into account the timing, desired academic level of the paper, and the number of pages.

Excellent Quality
Zero Plagiarism
Expert Writers

Custom Writing Service

Instant Quote
Single spaced
approx 275 words per page
Urgency (Less urgent, less costly):
Total Cost: NaN

Get 10% Off on your 1st order!