用C#语言实现简单的加减乘除计算。

要求先给出选择菜单“1.加 2.减 3.乘 4.除”。并且结束一个运算时询问用户是否继续进行

 static void Main(string[] args)
{
    Console.WriteLine("1.加  2.减  3.乘 4.除");
    Label1:
    Console.WriteLine("是否继续..................(Y/N)");
    string input = Console.ReadLine().ToUpper();
    if (input == "N")
    {
       return;       
    }
    else if (input == "Y")
    {
                
    }
    else
    {
        goto Label1;
    }
}追问

还没有实现加减乘除运算呢。。。

追答
温馨提示:答案为网友推荐,仅供参考
相似回答