This program calculates the area and perimeter of three shapes - circle, square, and triangle - using classes in C++. It defines three classes, one for each shape, with member functions to calculate the geometric values. The main function displays a menu to select a shape, then calls the appropriate class to read inputs, perform calculations, and display the outputs. The program demonstrates creating classes for geometric objects and calling their methods to solve problems related to area and perimeter.