+ 1

I need program c++ culclet a area for cicale

thank

8th Feb 2017, 1:49 PM
عبود ابوصلاح
عبود ابوصلاح - avatar
3 Respuestas
+ 2
define PI as e.g 3.14, then just make simple calculations, I can't see any diffuculties.
8th Feb 2017, 2:12 PM
Jakub Stasiak
Jakub Stasiak - avatar
+ 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#
8th Feb 2017, 2:57 PM
Saksham
Saksham - avatar
+ 1
احلى عبوووود ههه
9th Feb 2017, 12:40 PM
Baker Masre
Baker Masre - avatar