Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  hmm
Language: C/C++
Code:
#include<stdio.h>
#include<conio.h>     /*     For clsrc() function     */
#define PI 3.14258     /*     Constant definition     */
main()
{
     float radius,area,circum;
     clscr();
     printf("\nenter the radius of the circle ");
     scanf('%f',&radius);
     area=PI*radius*radius
     circum=2*PI*radius;
     printf('\narea of the circle =%.4f",area);
     printf('\ncircumference is +%.4f",circum);
}
          
Comments: