- 博客(8)
- 收藏
- 关注
原创 复数计算
using System; using System.Collections.Generic; using System.Linq; using System.Text; //(1)设计复数类Complex,计算两个复数之和、差,同时以 a+bi 的字符串形式显示。 //(2)使用复数类Complex验证两个复数 1+2i 和3+4i 相加产生一个新的复数 4+6i ,相减产生一个新的复数 -2
2014-12-14 12:20:45
476
原创 复数计算
using System; using System.Collections.Generic; using System.Linq; using System.Text; //(1)设计复数类Complex,计算两个复数之和、差,同时以 a+bi 的字符串形式显示。 //(2)使用复数类Complex验证两个复数 1+2i 和3+4i 相加产生一个新的复数 4+6i ,相减产生一个新的复数 -2
2014-12-14 12:07:34
742
原创 人品计算器
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 人品计算器 { class Program { static void Main(string[] args) { string n
2014-11-29 10:04:16
386
原创 杨辉三角
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 杨辉三角 { class Program { static void Main(string[] args) { //定义数组
2014-11-21 23:03:20
356
原创 一个猜字游戏
using System; using System.Collections.Generic; using System.Linq; using System.Text; //输入一个数,并随机产生一个数,比较两个数的大小 //如果如果输入的数比随机数大,则提示“你猜大了”,如果输入的数小了, //则提示“你猜小了”,如果一样则提示“你猜对了”并终止游戏 namespace 猜数游
2014-11-15 23:57:25
483
原创 一个猜字游戏
using System; using System.Collections.Generic; using System.Linq; using System.Text; //输入一个数,并随机产生一个数,比较两个数的大小 //如果如果输入的数比随机数大,则提示“你猜大了”,如果输入的数小了, //则提示“你猜小了”,如果一样则提示“你猜对了”并终止游戏 namespace 猜数游
2014-11-15 23:52:32
429
原创 输入三角形三边的值,判断是否是三角形,并输出是什么三角形
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 三角形三边 { class Program { static void Main(string[] args) { double a,
2014-11-02 21:24:46
1113
原创 输入a,b,c的值,求一元二次方程的解
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 方程振 { class Program { static void Main(string[] args) { double a, b
2014-10-24 14:45:51
3183
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人