Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

Write a C program that prompts a user to enter radius of a circle and calculate the Area

Write a C program that prompts a user to enter radius of a circle and calculate the Area.

Answers


Fredrick
#include
int main()
{
int radius;
double area;
printf("Enter radius\n");
scanf("%d",&radius);
area=3.142*radius*radius;
printf("Circle area is%f\n",area);
return 0;
}
Tesh Freddie answered the question on March 6, 2019 at 15:11

Answer Attachments

Exams With Marking Schemes

Related Questions