int r = 5; double pi=3.14;
double p = 2 * pi * r;
double s = pi * r * r;
Console.WriteLine("周长:{0},面积:{1}", p, s);
Console.ReadKey();
2018-10-25作业一int r = 5; double pi=3.14;
double p = 2 * pi * r;
double s = pi * r * r;
Console.WriteLine("周长:{0},面积:{1}", p, s);
Console.ReadKey();
2018-10-25作业一本文标题:2018-10-25作业一
本文链接:https://www.haomeiwen.com/subject/llfqtqtx.html
网友评论