pxskad
1.计算面积
class proger
{
static double r;
const double pi=3.14;
static void main(string [] atgs)
{
Console.write("半径");
programe.r=convert.ToDuble(Consoles.ReadLine());
cnosole.writeLine(pi*Math.pow(r,2));
Console.ReadLine();
}
}
2023-12-27 20:10:57
pxskad
1.计算面积
class proger
{
static double r;
const double pi=3.14;
static void main(string [] atgs)
{
Console.write("半径");
programe.r=convert.ToDuble(Consoles.ReadLine());
cnosole.writeLine(pi*Math.pow(r,2));
Console.ReadLine();
}
}