《0.C#结构化程序设计.pptVIP

  • 5
  • 0
  • 约3.65万字
  • 约 98页
  • 2017-01-01 发布于北京
  • 举报
《0.C#结构化程序设计

引申: 若转换大小写的程序,怎么实现? 注意这个句子是错误的: char x = char.Parse(Console.Read()); Console.Read()返回的是一个unicode编码值,而不是字符串。 打印乘法口诀表 4.4.3 for语句和foreach语句 问题2. 输入n值,输出由*组成的高为n的等腰三角形。 * *** ***** ******* ********* *********** ************* (n=7) 问题3: 求自然对数e。e=1+1/1!+1/2!+1/3!+... using System; using System.Collections; namespace foreachDemo { class Program { static void Main(string[] args) { ArrayList list = new ArrayList(); for (int i = 0; i 10; i++) { list.Add(i); } WriteList(list);

文档评论(0)

1亿VIP精品文档

相关文档