This C++ program demonstrates adding integer and float values between two classes using a friend function. It defines two classes called friend1 and friend2 that each contain private integer and float data members. A friend function called calc is declared that accepts objects from each class and calculates/displays the sum of their integer and float values. The main function creates objects of each class, gets input values using get methods, and calls the calc function to output the results.