Question: Question: Welcome to the EBAC Calculator JAVA HELP Learning Objectives 1. (10 points) Create a main program that successfully compiles 2. (47 points) Program runs

Question: Welcome to the EBAC Calculator

JAVA HELP

Question: Welcome to the EBAC Calculator JAVA HELP Learning Objectives 1. (10points) Create a main program that successfully compiles 2. (47 points) Programruns successfully (15 points) Input the user values using a Scanner object.a. i. Alcohol Units ii. Weight iii. Metabolic Constants iv. Alcohol Consumed

Learning Objectives 1. (10 points) Create a main program that successfully compiles 2. (47 points) Program runs successfully (15 points) Input the user values using a Scanner object. a. i. Alcohol Units ii. Weight iii. Metabolic Constants iv. Alcohol Consumed v. Time Drinking b. (16 points) Output the correct EBAC calculation for all four cases (16 points) Outputs the correct category using Oklahoma law c. 3. (43 points) Program contents follow readability standards including a. (10 points) Correct use of branching Make good choices for the use of multiple if statements, if-else statements, and nested if statements i. Note: There are many good options depending on vour design, but you must never use multiple if-statements when eaclh statement is mutually exclusive. This means when the second if-statement can ONLY happen when the first if-statement is false, then that second statement should be an else (or an else- if). This makes the code more efficient and less prone to bugs 1. b. (10 points) Correct variable types with Useful, Camel-case identifiers c. (10 points) Constants for 6 Metabolic values used in the formulas with useful upper-case, underscore separated identifier (5 points) Proper Tabbing and Spacing d Note: Use Source -> Format frequently in Eclipse ii. i. All points will be lost if the page cannot be easily read by the grader e. (8 points) Seven useful comments in the code i. Note: Use // make a comment and put it on the line BEFORE the code it explains to make it easier to see/grade Note: Only projects that adhere to the Submission Requirements (at the end of this document) will be graded. Failure to meet these requirements will result in a 0 for this project

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!