• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests
September 12, 2022 |200 Views
C++ Program to find the Area and Perimeter of a Semicircle
Description
Discussion

In this video, we will write a C++ program to find the Area and Perimeter of a semicircle

We have divided this video into 2 sections to find the Area and Perimeter of a Semicircle:

1. Understand the concept to find the Area and Perimeter of a Semicircle
2. Find the Area and Perimeter of a Semicircle in the C++ program.

Here, we will take a radius from the user in float datatype and find the area and perimeter of a semi-circle by calling the function for different operations. i.e, for calculating area we will call the area function and it will return the area of a semicircle. 

Same for calculating the perimeter of a semi-circle and it will return the float value of the perimeter of a semi-circle.

Program to find the Area and Perimeter of a Semicircle
https://www.geeksforgeeks.org/program-to-find-the-area-and-perimeter-of-a-semicircle/

Read More