Question
Use C# to solve the following problems: Problem 1: Write a method, called DisplayRomanNumeral , that will take in one int parameter, called num, and
Use C# to solve the following problems:
Problem 1:
Write a method, called DisplayRomanNumeral, that will take in one int parameter, called num, and it will display the Roman numeral version of that number. The method should first validate that num is a number within the range 1 through 10 (inclusively). If it is not in the given interval, then return early. Then, in Main, ask the user to enter a whole number between 1 and 10, then use/call the newly created method DisplayRomanNumeral to display the Roman numeral version of the number entered by the user.
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