Assignment Prompt
Write a Java program that does the following:
-
Prompt the user to select an action:
-
a. Convert cubic feet to U.S. bushels
-
b. Convert miles to kilometers
-
c. Determine graduation with honors title
-
d. Exit program
-
-
Your program must have at least these methods:
-
a. A method to convert cubic feet to U.S. bushels (accepts cubic feet, returns bushels)
-
b. A method to convert miles to kilometers (accepts miles, returns kilometers)
-
c. A method to determine graduation honors title (accepts GPA, returns honors title string)
-
Java Solution
How to Run
-
Save the code above as
MenuConversions.java
. -
Compile:
-
Run:
📩 Need a similar solution? Email me: adel455@hotmail.com
Tags:
Computer Science