Computer Science, asked by hpunith260, 1 month ago

Question 5
Write a program to calculate the area and circumference​

Answers

Answered by khushikumarirp
1

Answer:

#ɪɴᴄʟᴜᴅᴇ<sᴛᴅɪᴏ.ʜ>

ɪɴᴛ ᴍᴀɪɴ() {

ғʟᴏᴀᴛ ʀᴀᴅɪᴜs, ᴀʀᴇᴀ;

ᴘʀɪɴᴛғ("\ɴᴇɴᴛᴇʀ ᴛʜᴇ ʀᴀᴅɪᴜs ᴏғ ᴄɪʀᴄʟᴇ : ");

sᴄᴀɴғ("%ᴅ", &ʀᴀᴅɪᴜs);

ᴀʀᴇᴀ = 3.14 * ʀᴀᴅɪᴜs * ʀᴀᴅɪᴜs;

ᴘʀɪɴᴛғ("\ɴᴀʀᴇᴀ ᴏғ ᴄɪʀᴄʟᴇ : %ғ", ᴀʀᴇᴀ);

ʀᴇᴛᴜʀɴ (0);

}

ĦØP€ IŦŞ Ħ€ŁP ¥ØỮ

Explanation:

Similar questions