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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!