- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies

- 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 Articles
- C++ Program to calculate the volume and area of Sphere
- Swift Program to Find the Surface area and Volume of Cuboid
- Java Program to Find the Surface area and Volume of Cuboid
- Kotlin Program to Find the Surface Area and Volume of Cuboid
- C++ Program to calculate the volume and area of the Cylinder
- Program for Volume and Surface Area of Cube in C++
- Program for Volume and Surface Area of Cuboid in C++
- Swift Program to calculate the volume and area of Sphere
- Python Program to calculate the volume and area of Cone
- Python Program to calculate the volume and area of Sphere
- Swift Program to calculate the volume and area of the Cylinder
- Python Program to calculate the volume and area of the Cylinder
- Golang program to calculate the volume and area of the Cylinder
- Program for Volume and Surface area of Frustum of Cone in C++
- Program to calculate area and volume of a Tetrahedron

Advertisements