Question: This is for my programming 1 java class. Write a Java class named RomanNumerals. It will use JOptionPane to get an integer from the user.
This is for my programming 1 java class.
Write a Java class named RomanNumerals. It will use JOptionPane to get an integer from the user. If the integer is less than 1 or more than 10, then the program will use JOptionPane to print an error message.
If the number is between 1 and 10, then the program will use JOptionPane to print out the Roman Numeral equivalent of the integer. You should write your program using a switch statement. Also, you should only have one call to JOptionPane.showMessageDialog
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
