我最亲爱的说

子非鱼,焉知鱼之乐.

导航

2012年12月11日 #

编程实践6-4

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Point{ class Program { static void Main(string[] args) { int n; double x; double[,] pt; int i, j; double dblmax; int p1, p... 阅读全文

posted @ 2012-12-11 09:45 我最亲爱的说 阅读(143) 评论(0) 推荐(0)

编程实践6-3

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace CompareString{ class Program { static void Main(string[] args) { string strX, strY; //定义变量用来记录输入的字符串 int x; //输入字符串的值 Console.Write("请输入字... 阅读全文

posted @ 2012-12-11 09:45 我最亲爱的说 阅读(144) 评论(0) 推荐(0)

编程实践6-5

摘要: 编程实践6-5课程元素类型 任务定义函数,计算a+aa+aaa+...+a…a,共n项,其中a、n由键盘输入,a是[1,9]间的数字。using System;namespace sj_6_5{ class Program { static void Main(string[] args) { int a, n; Console.Write("请输入A的值:\n"); a = Convert.ToInt32(Console.ReadLine()); Console.W... 阅读全文

posted @ 2012-12-11 09:32 我最亲爱的说 阅读(138) 评论(0) 推荐(0)