Question
Find and fix six errors in the code below. Please copy and paste the code in the submission field, then add your suggested modifications and
Find and fix six errors in the code below.
Please copy and paste the code in the submission field, then add your suggested modifications and short explanations as comments.
public static double ReturnRomanNumeral() { string val switch (number case 1: val = "I"; break;
case 2: val = "II"; break;
case 3: val = "III"; break;
case 4: val = "IV"; break;
case 5: val = "V"; break;
case 6: val = "VI"; break;
case 7 : val = "VII"; break;
case 8 : val = "VIII"; break;
case 9: val = "IX"; break;
case 10: val = "X"; break;
default: val = "?"; break; return val; }
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