Boost your Grades with us today!

Computer Science homework help

For this homework you are going to write a program to read in values for a small business that starts with the first letter of your last name. So if your last name is Gonzalez, you can write a program for a Grocery Store.

You will need to read in one integer value, one boolean value, one decimal value and one String value. Use a Scanner to read in the data. Based on the data you read in, use a series of if, else if, else if, else to determine the price of the product or service depending on what the user entered in to the program.

You will create a class based on the type of product or service you are offering that will keep track of the integer, boolean, decimal, and String.

CLASS WORTH 20 points

For example, you let’s say your last name is Fernandez and you chose a flower shop:

“Enter the number of flowers desired:”

4

“Enter if you want a vase:”

true

“Enter your address:”

123 Fake Street

“Enter your local tax rate as a percent:”

6.5

INPUT WORTH 30 points.

OUTPUT TO THE SCREEN:

“YOUR FLOWER ORDER WILL BE $19.99”

After displaying the output for the product (price will depend on the type of business you select based on your last name), you will save the entire order in a file called output.txt using a PrintWriter.

OUTPUT WORTH 30 points.

SAVING DATA WORTH 20 points.

Your code must be unique and based on the business selected and related to your name. Submit your code here.

SUBMISSION: Upload a single .java file. No Word, text or other files will be considered.

Solution:

15% off for this assignment.

Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!

Why US?

100% Confidentiality

Information about customers is confidential and never disclosed to third parties.

Timely Delivery

No missed deadlines – 97% of assignments are completed in time.

Original Writing

We complete all papers from scratch. You can get a plagiarism report.

Money Back

If you are convinced that our writer has not followed your requirements, feel free to ask for a refund.