using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            string strIntValue = Console.ReadLine();
            
            compute:
                if (strIntValue.ToUpper() == "CLS")
                {
                    Console.Clear();
                }
                else
                {
                    Console.WriteLine(CommonUtility.ConvertToSmallIntValue(strIntValue));
                    Console.WriteLine();
                }
            
            strIntValue = Console.ReadLine();
            goto compute;
        }
    }
}

相关文章:

  • 2021-10-19
  • 2021-06-13
  • 2022-03-10
  • 2021-06-07
  • 2022-03-09
猜你喜欢
  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
  • 2021-12-19
相关资源
相似解决方案