- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# Program to find the Area and Volume of Icosahedron in C++

In this problem, we are given a value that denotes the side of an icosahedron. Our task is to create a program to find the Area and Volume of Icosahedron in C++.

**Icosahedron** is a regular 30 sided polyhedron. It has 20 equilateral triangles of the same side. There are only 12 vertices of this polyhedron.

Dashed lines are for the edges that are behind the visible surface.

**Let’s take an example to understand the problem,**

## Input

a = 4

**Program to illustrate the working of our solution,**

## Example

#include <iostream> using namespace std; float calcIcoSArea(float a) { return (8.660 * a * a); } float calcIcoVolume(float a) { return (2.1817 * a * a * a); } int main(){ float a = 7; cout<<"The length of side of icosahedron is "<<a<<endl; cout<<"The surface area of icosahedron is "<<calcIcoSArea(a)<<endl; cout<<"The volume of icosahedron is "<<calcIcoVolume(a)<<endl; return 0; }

## Output

The length of side of icosahedron is 7 The surface area of icosahedron is 424.34 The volume of icosahedron is 748.323

- Related Questions & Answers
- Java Program to Find the Surface area and Volume of Cuboid
- Program for Volume and Surface Area of Cube in C++
- Program for Volume and Surface Area of Cuboid in C++
- Program to calculate area and volume of a Tetrahedron
- How to find Volume and Surface Area of a Sphere using C#?
- Program for Volume and Surface area of Frustum of Cone in C++
- Find maximum volume of a cuboid from the given perimeter and area in C++
- Surface Area and Volume of Hexagonal Prism in C programming
- Program to find the Area and Perimeter of a Semicircle in C++
- C program to find the area of circle and cylinder using structures.
- Program to find the Area of an Ellipse in C++
- Program to find the Area of a Parallelogram in C++
- Program to find the Area of a Pentagon in C++
- C Program for Program to find the area of a circle?
- Program to find the Area of an Ellipse using C++

Advertisements