男人一路微笑
男人一路微笑
女人一路尖叫、
关注数: 55
粉丝数: 127
发帖数: 952
关注贴吧数: 21
浙江老乡看过来。出售成像好的无患子树 基地位于金华兰溪市郊,有(8cm—15cm)的成品无患子树上千棵, 欢迎前来联系采购。联系电话:13967903611
【SAUCONY交易】出一双9000 .US8.5 刚到的货。40.5的脚试穿偏大。适合41~42的脚码穿。550出,可小刀。有意小窗。wechat:674800785
新手求帮助 继承过程中为什么数据继承不过来 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace shape { class shape { public const double PI = 3.1416; double c, s; public void yx() { Console.WriteLine("图形的周长为:{0}", c); Console.WriteLine("图形的面积为:{0}", s); } public void jx() { Console.WriteLine("图形的周长为:{0}", c); Console.WriteLine("图形的面积为:{0}", s); } } class shape2: shape { double r, a, b,c1,c2,s1,s2; string read1, read2; public void yx() { Console.WriteLine("请输入圆形的半径:"); read1 = Console.ReadLine(); r = Convert.ToDouble(read1); c1 = 2 * PI * r; s1 = PI * r * r; Console.WriteLine("图形的周长为:{0}", c1); Console.WriteLine("图形的面积为:{0}", s1); } public void jx() { Console.WriteLine("请输入矩形的长:"); read1 = Console.ReadLine(); a = Convert.ToDouble(read1); Console.WriteLine("请输入矩形的宽:"); read2 = Console.ReadLine(); b= Convert.ToDouble(read2); c2=2*(a+b); s2 = a * b; Console.WriteLine("图形的周长为:{0}", c2); Console.WriteLine("图形的面积为:{0}", s2); } public double A{ get { return this.a; } } public double B { get { return this.b; } } public double C2 { get { return this.c2; } } public double R { get { return this.r; } } public double S2 { get { return this.s2; } } public double S1{ get { return this.s1; } } public double C1 { get { return this.c1; } } } class shape3 : shape2 { double h,v,S; string readone, readtwo; public void yzx() { Console.WriteLine("请输入圆柱体的高:"); readone = Console.ReadLine(); h = Convert.ToDouble(readone); S =2*S1+C1* h; v =S1*h; Console.WriteLine("圆柱体的表面积为:{0}", S); Console.WriteLine("圆柱体的体积为:{0}", v); } public void cfx() { Console.WriteLine("请输入长方体的高:"); readone = Console.ReadLine(); h = Convert.ToDouble(readone); S = 2 * (A *B +B * h +A * h); v = S2 * h; Console.WriteLine("长方体的表面积为:{0}", S); Console.WriteLine("长方体的体积为:{0}", v); } } class Program { static void Main(string[] args) { shape2 yx=new shape2(); yx.yx(); shape2 jx=new shape2(); jx.jx(); shape3 yzx = new shape3(); yzx.yzx(); shape3 cfx = new shape3(); cfx.cfx(); } } }
起风了···
2011---2012 NBA 冠军 ???
这个变态哇··· 4打4 连赢二十几盘·
喜欢篮球的进来看看· 热火大伤 马刺老当益壮 雷霆和湖人的纠结 76人黑到底?
周航帆人呢 ? 求其真像
2012NBA 冠军预测
巴萨 切尔西·· 预测 2:0
关于下礼拜的篮球冠军赛··
摄像头下 继续搞基, 继续贴吧, 继续阿鲁巴
连载成功 ·
魔兽3月前必去湖人 鼓爪,
如果不出意外、
接下来 , 篮球赛,十佳歌手, 元旦 好多活动
平均分60的月考。
请想去医院看谭杰希的高一妹妹在12点之前打150245175 .
发现 、 10月生日的特别多
28号组打篮球。 室内
谁来帮帮这位大姐 · 自拍 ·
听说今年高二 1500 竞争激烈··
9.10 感谢教师。 9.11 感谢 本·拉登。 9.12 感谢嫦娥、 感谢这个假期·
求电影、! 最近想看些电影 求之
请那位泼我开水的 开水女 向我道歉 我是受害者,开水女。 你喊什么。快向我道歉,
1
下一页