如何用C#编写简易计算器

2025-02-21 21:45:22
推荐回答(1个)
回答1:

简单的加减乘除计算器示例(Console模式): class Program{ static void Main(string[] args) { try { Console.Write("请输入数字A:"); string strNumberA = Console.ReadLine(); Console.Write