Write a program to calculate area of circle | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Write a program to calculate area of circle

Why main function is special in C++?

14th Feb 2019, 4:54 PM
Megada Wata
2 Answers
+ 2
Please study the tutorial you started for a bit - most of these questions will naturally become clearer.
14th Feb 2019, 4:55 PM
HonFu
HonFu - avatar
+ 2
get a grip of the maths formulas the rest will be easy. the area of a circle can be found by multiplying pi ( π = 3.14) by the square of the radius. If a circle has a radius of 4, its area is 3.14*4*4 quite simple maths the rest should be after getting the formula lol
14th Feb 2019, 5:14 PM
peter
peter - avatar