Half-Circle Area Calculator

Half-Circle Area Calculator

In this implementation, enter the radius, and upon clicking the “Calculate Area” button, the area of the half-circle is computed and displayed. The full circle’s area is calculated first and then divided by 2 to get the area of the half-circle.