Question: Write a short Java class that performs a simple calculation based on something you're interested insports, health, science, etc. You MUST include comments in the
Write a short Java class that performs a simple calculation based on something you're interested insports, health, science, etc. You MUST include comments in the introductory section of your code that explains what it does in "plain English." The application must:
- Declare at least two input variables, named properly and using the most appropriate data type
- Prompt the user for the value of at least one of the variables and store it to an appropriate input-capture variable
- Perform at least one calculation, storing the outcome to an expression-result variable
- Output the result, with an appropriate caption
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
