Javatpoint Logo
Javatpoint Logo

Write a Program to calculate the Surface Area of Hemisphere

Before writing the program of calculating the surface area of hemisphere in different programming languages, firstly we have to know about what is hemisphere and what is the formula of the surface area?

What is Hemisphere?

A hemisphere is a half-part of the sphere.

Surface Area of Hemisphere is the total number of square units which exactly cover the hemisphere surface.

Program of calculating the surface area of a hemisphere in different Programming languages

Program 1: Write a Program in C language:

Output of Above C program:

Enter the radius of the hemisphere:10
Surface Area of the hemisphere is: 628.000000

Program 2: Write a Program in Java language:

Output of Above Java program:

The Surface Area of a hemisphere in Java:
628.0

Program 3: Write a Program in PHP programming language.

Output of Above PHP program:

628

Program 4: Write a Program in Python programming language.

Output of Above Python program:

628.0





Youtube For Videos Join Our Youtube Channel: Join Now

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA