結果 : write a c++ program to perform friend function