Write a program to find the Area of an IcosahedronBefore 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 IcosahedronProgram of calculating the area of an icosahedron in different Programming languagesProgram 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 |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India