Beispiel #1
0
        static void CallRomanParce()
        {
            bool roman = false;

            while (roman == false)
            {
                string str = Console.ReadLine();
                str = str.ToUpper();
                if (RomanNumeral.checkRomanString(str))
                {
                    Console.WriteLine(RomanNumeral.Parce(str));
                    roman = true;
                    break;
                }
                else
                {
                    Console.WriteLine("symbols not roman, retype");
                }
            }
        }