+ 1

Calculate the area and the circumference of a circle with c programming

Can you please help me???

27th Feb 2020, 3:16 PM
Phillip Amankwah
11 Answers
+ 5
import math module in c Than take radius from user and use following formula int area = PI*pow(radius,2);
27th Feb 2020, 6:08 PM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
+ 5
Use the math formulas.
28th Feb 2020, 1:52 PM
Sonic
Sonic - avatar
+ 4
The formula is: A=π*r^2 for area C=2*π*r for circumference
27th Feb 2020, 3:39 PM
Lothar
Lothar - avatar
+ 1
You can ping someone by typing @ followed by their name. But it won't work if you do so in the thread tags. You need to tag that person in your thread Description. Use the tags to specify context of the question and/or the language specification. I suggest you to try and search the forum for similar threads first. As I recall, someone had asked this question before, so a search is in order to reduce duplicate questions. For future reference follow this guide on posting a question. Hope you understand 👍 https://www.sololearn.com/Discuss/333866/?ref=app
27th Feb 2020, 3:29 PM
Ipang
+ 1
no.
28th Feb 2020, 5:32 AM
Shen Bapiro
Shen Bapiro - avatar
+ 1
You can default provide the Pi value and do simple calculation using formula.
28th Feb 2020, 9:06 AM
Amruta Dhokchaule
0
you know the formula ?
27th Feb 2020, 3:28 PM
Taste
Taste - avatar
0
Use the formulas and fit in the code Area=πr^2 Circumference=2πr
29th Feb 2020, 2:19 PM
Helen Fondem
- 2
Take pie to be 3.142
27th Feb 2020, 3:29 PM
Phillip Amankwah