+ 1
I need program c++ culclet a area for cicale
thank
3 Réponses
+ 2
define PI as e.g 3.14, then just make simple calculations, I can't see any diffuculties.
+ 1
const decimal pi = 3.14;
Console.WriteLine(calculate(6));
public double calculate(double radius){
decimal r2 = Math.Pow(radius,2);
return pi*r2;}
C#
+ 1
احلى عبوووود ههه