Computer Science, asked by EnoshGonmei, 1 year ago

Write a c++ program to print area of circle.

Answers

Answered by subhrajit74
1
hola mates .....

The program output is also shown below.

* C++ Program to Compute the Area of Circle.{float radius, area;std::cout << "Enter the radius of circle : ";std::cin >> radius;area = 3.14 * radius * radius;std::cout << "Area of circle with radius "<< radius << " is " << area;

PLZ MARK ME
Answered by abhinaysachan38
2

/*

* C++ Program to Compute the Area of Circle

*/

#include <iostream>

int main()

{

float radius, area;

std::cout << "Enter the radius of circle : ";

std::cin >> radius;

area = 3.14 * radius * radius;

std::cout << "Area of circle with radius "

<< radius << " is " << ar

Similar questions