+ 1
Why It is error?
Idk why It is an error can anyone tell me plz const double PI =3.1416; int r = int.Parse(Console.ReadLine()); double area = (r * r * PI); Console.WriteLine("L'area del cercle es: {2}", area);
2 Réponses
+ 5
The first placeholder can't start with two, you have to replace it with zero.
const double PI =3.1416;
int r = int.Parse(Console.ReadLine());
double area = (r * r * PI);
Console.WriteLine("L'area del cercle es: {0}", area);
0
Plz