Computer Science, asked by XxDarkangelxX786, 1 month ago

Write a C++ program to find the perimeter and area of the quarter circle.​

Answers

Answered by ItzImran
8

  \large \boxed{\mathtt{Answer:}}

#include <iostream>

using namespace std;

int main( )

{

int radius;

float pi= 3.14;

cout<<"\n Enter Radius (in cm):";

cin>>radius;

float perimeter = (pi*radius) / 2;

float area = (pi*radius*radius) / 4;

cout<<"\n Perimeter of quarter circle is"<<perimeter<<"cm";

cout<<"\n Area of quarter circle is"<<area<<"sq.cm";

}

Similar questions