Rubric: Option A is worth 20/20 points. Option B is worth 23/20 points (points are added to option B for increased difficulty). First point off is "free" EXCEPT for name and date! For credit, the program MUST include a sample run in a block comment below the last curly brace (below the program code). If this is not included, then the program is not complete. The program could be resubmitted for late credit if turned in with the sample run. Up to: 3 A. Write the Java program to implement a menu: Included introductory Standard (/**) block comment that includes: Name of project, description, Input, Computation, Output, And, name, and date in standard format Successfully includes appropriate comments for each section of code IN IN Indentation is standard 4 Program uses a while or do loop to loop until the exit choice is selected Program displays the menu and based on the selection made, performs that part of the switch statement (2 points for each programmed choice) Program computes results and calculates correctly. 3 Includes blank lines in both the program and output for readability 2 Total points possible 20 * * Option A: /** * LiquidynitMeasure concerter * This program converts liters to gallons and gallons to liters * Declare variables (at the top of your program) * Include the name of the program and your name as author * Describe the program to the user Top of loop: (repeat until a 3 is entered by the user) Display the menu Prompt and read in the menu choice (see sample execution) Using a switch statement, use the value entered as the section of code to execute 1) Acknowledge that a 1 has been entered Convert from Liters to Gallons : Ask user for number of Liters Convert to Gallons Print out the results 2) Acknowledge that a 2 has been entered Convert from Gallons to Liters Ask user for number of Gallons Convert to liters Print the results 3) Acknowledge that a 3 has been entered. State that the program will end * After the loop ends, thank the user for using your program (include your name here) * * Formulas that you might need to use: * One gallon 3.785411784 liters * One liter = 0.26417205235815 gallons w * How many gallons is: 20 liters? * gallons = 20 * 0.26417205235814843 * How many liters is 20 gallons? * liters = 20 * 3.785411784 Liquid Unit Measure Converter by Your Name This program will convert between Liters and Gallons. Choose the conversion from the menu. Choose from the menu: 1: Literg to Gallons 2: Gallong to Liters 3: Quit the program Enter your choice: 1 1 has been entered Converting Liters to Gallons Enter number of Liters: 3.846 3.846 Liters is: 1.016005713369439 Gallons. Choose from the menu: 1: Liters to Gallons 2: Gallong to Liters 3: Quit the program Enter your choice: 2 2 has been entered Converting Gallons to Liters Ented number of Gallons: 5 5.0 Gallong is: 18.92705892 Liters