Logic and programming

1. Design and implement a Java program that will gather a users first name, middle initial, lastname, age in years, and 3 lucky numbers. The programshould output the following based on the users input:a. A welcome message repeating their full name (e.g. Welcome John Q Smith)b. A message based on their age with these types of messages.Display You are just a kid!, if the user is less than or equal to 12 years oldDisplay Welcome teenager!, if the user is greater than 12 and less than 20 years oldDisplay Welcome almost adult!, if the user is 20 years old.Display Welcome adult! , if the user is 21 years old or greater.c. A message displaying the average of their 3 lucky numbers. For example The average of your 3 lucky numbers is : 202. Additional requirements include:1. Use JOptionPane.showInputDialog() methods for your user to input their data2. Use JOptionPane.showMessageDialog() methods to display your messages.3. Include a comprehensive set of application test data that you used to test your program. Your test data can be shown in a table that includesinput data, expected output, actual output and pass/fail results from the test. Your test data can be presented in the form of a table as follows:Example application test data:Input Expected Output Actual Output Did Test Pass?Firstname: JohnMiddleInitial: QLastname: SmithAge: 34Lucky Num1: 10Lucky Num 2: 20Lucky Num 3: 30 Welcome John Q SmithWelcome Adult!The average of your lucky numbers is: 20 Welcome John Q SmithWelcome Adult!The average of your lucky numbers is: 20 Y.Click here to have a similar paper done for you by one of our writers

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
The price is based on these factors:
Academic level
Number of pages
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more