In this C++ program we will find area of circle by entering its radius or diameter
//Code Starts
#include <iostream>
#define PI 3.14159
using namespace std;
float AreaOfCircle(float radius);
float AreaWithDiameter(float diameter);
int main()
{
float radius,diameter,circleArea;
...
John Johnson
“ First, solve the problem. Then, write the code. ”