Question 5
Write a program to calculate the area and circumference
Answers
Answered by
1
Answer:
#ɪɴᴄʟᴜᴅᴇ<sᴛᴅɪᴏ.ʜ>
ɪɴᴛ ᴍᴀɪɴ() {
ғʟᴏᴀᴛ ʀᴀᴅɪᴜs, ᴀʀᴇᴀ;
ᴘʀɪɴᴛғ("\ɴᴇɴᴛᴇʀ ᴛʜᴇ ʀᴀᴅɪᴜs ᴏғ ᴄɪʀᴄʟᴇ : ");
sᴄᴀɴғ("%ᴅ", &ʀᴀᴅɪᴜs);
ᴀʀᴇᴀ = 3.14 * ʀᴀᴅɪᴜs * ʀᴀᴅɪᴜs;
ᴘʀɪɴᴛғ("\ɴᴀʀᴇᴀ ᴏғ ᴄɪʀᴄʟᴇ : %ғ", ᴀʀᴇᴀ);
ʀᴇᴛᴜʀɴ (0);
}
ĦØP€ IŦŞ Ħ€ŁP ¥ØỮ
Explanation:
Similar questions
Math,
1 month ago
Physics,
1 month ago
India Languages,
2 months ago
Math,
9 months ago
Math,
9 months ago