Question: I am a beginner in Java and am looking for some help with coding. I am new so we've only covered most of the basics,

I am a beginner in Java and am looking for some help with coding. I am new so we've only covered most of the basics, if else statements, switch statements, loops. So please don't provide array instructions as we have not covered them. How would I code this in a simple, basic, and efficent way? Please leave good comments to help me understand. Thank you. How would I code the following:

Data Expected Output

Customer name / Present

customer email address / Present

customer zip code / 5 numeric digits

name of event / present

number of tickets / 1-20 numeric

Ticket Type:

1 = Floor - 131.00

2 = Main concourse - 94.00

3 = Upper concourse - 86.00

Credit card number 16 numeric digits - long int

Expiration date 8 characters (yyyy-mm-dd)

The Java class should prompt the user for all information above, and their response should remain on the same line as the prompt. All user entered fields need to be tested for valid data using the Validation class provided. Each of the user entered fields will be in a separate method called from the main method of the Java program class. Once all the user input has been validated, a message should display at the end that says (for example: Thank you for your ticket order, please verify your information. The usersinformation along with the order total should be displayed back to them. The order total should be displayed with two numbers following the decimal point. Once an order has been placed, a prompt should display asking the user if the userwishes to enter another order; if the user enters a Y in either upper or lower case, the user should be prompted for the next order, starting with their name.

The calculation should do the following:

* Multiply number of tickets by price

* Add the following handling fee to EACH ticket

- Floor - 18.50

- Main concourse - 17.50

- Upper concourse - 16.50

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!