In this video, we will write a C program to find the Area and Perimeter of a rhombus.
We have covered the following in this video:
1. Understand the concept to find the Area and Perimeter of a rhombus
2. Find the Area and Perimeter of a rhombus in the C++ program.
Here, we will take a diagonal from the user in float datatype and find the area and perimeter of a rhombus 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 rhombus.
Same for calculating the perimeter of a rhombus and it will return the float value of the perimeter of a rhombus.