By Gudipati Ganesh Yaswanth Kumar

This packet of C++ code helps us to find if it is possible to build a parallelepiped given the edges

A parallelepiped is a Three Dimensional object with twelve edges and six faces.

This packet helps to find if it is possible to build a parallelepiped with all its sides known.

The principle here is parallel geometry. In a parallelepiped, we have three groups, with four edges each that are parallel to each.

All the edges in a group should have the same length.

1. We will take the size of 12 edges as input and store them in an array.

2. We will sort the array according to the size of the edges.

3. We will check if every 4 edges have the same size.

2. We will sort the array according to the size of the edges.

3. We will check if every 4 edges have the same size.

Submitted by Gudipati Ganesh Yaswanth Kumar (GaneshGudipati)

Download packets of source code on Coders Packet

## Comments