#include<iostream.h> #include<conio.h> #define PI 3.14159 #define NEWLINE '\n' void main() { float r, area; clrscr(); cout<<NEWLINE<<"Enter the radius of circle: "; cin>>r; area = 2*PI*r; cout<<NEWLINE<<"Area of circle is: "<<area; getch(); }
Zaarm Tech Selected answer as best November 20, 2021