結果 : write a program using friend function in c++