2018-10-25作业一
2018-10-25 本文已影响0人
拖鞋大王
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作业一