0 votes
123 views
in Programming by (98.9k points)
edited
Write a c++program to find area of circle?

1 Answer

0 votes
by (98.9k points)
selected by
 
Best answer
#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 " << area;
}

Related questions

0 votes
1 answer 70 views
0 votes
1 answer 174 views
0 votes
1 answer 1.4k views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

504 users

...