Javatpoint Logo
Javatpoint Logo

Write a program to find the Area of an Icosahedron

Before writing the program of calculating the area of an icosahedron in different programming languages, firstly we have to know about what is icosahedron and its area's formula.

What is Icosahedron?

Icosahedron is a regular convex polyhedron shape. This shape contains 30 sides, 12 vertices, and 20 identical equilateral triangles.

Area of Icosahedron

Program of calculating the area of an icosahedron in different Programming languages

Program 1: Write a Program in C language:

Output of Above C program:

Enter the side of the icosahedron:5
Area of the icosahedron is: 216.506348

Program 2: Write a Program in Java language:

Output of Above Java program:

The Area of a icosahedron is:
77.94228

Program 3: Write a Program in PHP programming language.

Output of Above PHP program:

54.13

Program 4: Write a Program in Python programming language.

Output of Above Python program:

216.506348






Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA