Posts

Showing posts from January, 2022

WAP to area of circle ( program based on structure of C programming)

Image
 /* program based on structure of C programming  WAP to area of circle _____________________________________________ #include<stdio.h> #include<conio.h> #define PI (22/7.0) Void main () { flot radius, area;  clrscr(); printf ("\n\n\ __________INPUT__________"); print  ("{\n\n\ Enter the radius of  Circle :"); scan ("%f", &radius);  area= (PI*radius*radius);  printf ("\n\n\__________OUTPUT__________"); printf ("\n\n\Area of circle is %f"); getch (); } _____________________________________________ _____________________________________________ Enter the value of radius : 5.3 Area of circle is