Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part II: Design a RomanNumerals class that takes a number within 1 to 10 and display the roman numeral version of that number (I, II,
Part II: Design a RomanNumerals class that takes a number within 1 to 10 and
display the roman numeral version of that number (I, II, III, IV, V X). If the
number entered by user is outside the range of 1-10, the program should display an
error message. Code a driver class RomanNumeralsApp to test the class by
asking user to enter a number, creating an object of RomanNumerals and calling
its methods getNumber, setNumber, convertNum and displayResult to perform
the described task.
Coding Requirements:
Must use required/meaningful names for fields, variables, methods and
classes. Must document each of your source code (see example in the next slide) Must separate operation class RomanNumerals from the driver class
RomanNumeralsApp. Part III (Optional for extra-credit): The exercises you have completed from Chapter
1 to 4 including all even-numbered M/C and T/F questions, all even-numbered
Predict Output, and all even-numbered Algorithm Workbench in these 4
chapters using any text editor.
Create a folder called answers and copy paste all of your exercises from Chapter
1 to 4 to this folder, and then copy this folder into Eclipse project folder Lab1.
(See the Steps)
How to work on your Lab in Eclipse and Lab submission requirement
the language is javs
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started