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


Next: Discuss the role of written and unwritten sources in the reconstruction of African history
Previous: Differentiate between the Quran and Hadith

View More Computer Studies Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions