Question: Java language A2b - 1/0 and Arithmetic Assignment Instructions Make sure you review the Notes - Input and Output. In this part, you will solve

 Java language A2b - 1/0 and Arithmetic Assignment Instructions Make sure
you review the Notes - Input and Output. In this part, you
will solve a problem described in English. You are raising funds for
Java language

A2b - 1/0 and Arithmetic Assignment Instructions Make sure you review the Notes - Input and Output. In this part, you will solve a problem described in English. You are raising funds for a charity by selling items door-to-door. You can't figure out sales tax in your head, so you will use a program to do that. Assume each customer will buy 3 items. Your program will ask for the price of the first item and out the price of the first item. Then, the same for the second item, and then the third item. See the Sample Run below. Your program will then separately calculate the subtotal price without sales tax, the amoules of tax, i.e. assume you are in Orlando where the tax rate is 6,5%, and calculate the total price including the tax Then, output the subtotal, tax, and total. See the Sample Run below. Note: This program does not use any selection constructs, arrays, loops, or functions; just input/output, constants, variables, assignment statements, and arithmetic. Sample Run interaction with your program should look like this: (user input is bolded) Enter the price of the first item: 2.50 You entered $2.50. Enter the price of the second item: 8.00 You entered 58.00 Enter the price of the third item: 0 You entered 90.00 The subtotal of your order is $10.50 The subtotal of your order is: $ 20.50 The tax for your order is: s 0.68 The total with tax is: $11.18 Thanks for supporting >. Format your output like it is above in the Sample Run, es, with everything starting along the left margin, blank lines between each part, dollar signs lined up with each other, numbers displayed to two decimal places and lined up on the decimal point, number spacing should accommodate numbers in the thousands, scadd your favorite charity here>> including the chevrons replaced with the name of an actual charity, etc. In addition, you should format your code according to the Code Conventions for this course, e.g., putting comments at the beginning of your program, left braces at the end of the previous line, indenting properly, etc; alternatively, you could use JavaDoc comments; see the links in the Resources Overview and the Template. Make sure your code is well organized labeling each section with a single line comment, 8. // Packages, // Constants and Variables, // input. // Calculations, // Output, etc Once you have your program running and displaying output correctly, select all the code (press the Ctrl a key combination), copy it (ctrlc) from your development environment, and paste it (Ctrl + v) into this document Deliverables You must submit this completed document to Canvas. Code Replace this line with your code If you are stuck, search the Ask Questions Here discussion for an answer, or if appropriate, post a "new" message in the Ask Questions Here discussion

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!