#include<stdio.h> #include<conio.h> void main() { float r,p,a,pi=3.1416; clrscr(); printf(“enter the radius of the circle: “); scanf(“%f”,&r); p=2*pi*r; a=pi*r*r; printf(“parimeter = %f and area = %f”,p,a); getch(); }
© 2019 CODE WITH SHARAD | Privacy Policy
Comments