输入语句 输入数值 ?x=input('please input a number:') please input a number:22 x = 22 输入字符串 ?x=input('please input a string:','s') please input a string:this is a string x = this is a string 输出语句 自由格式 (disp) ?disp(23+454-29*4) 361 ?disp([11 22 33; 44 55 66; 7
前面我我们学习了如何在控制台输出一句话,今天我们学习一下更详细的输出方式. Console.WriteLine();和Console.Write(); 我们来看一下下面几行代码, using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace hello { class Program { static voi