Create a friend class bestfriend to the class frac inside


1. Create a friend class BestFriend to the class frac. Inside the class BestFriend, and implement a function outputfrac() to print the content of the frac instance.

2. Create a friend function outputfrac() to print the content of the frac instance for class GoodFriend to the class frac.

Attachment:- program.txt

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Create a friend class bestfriend to the class frac inside
Reference No:- TGS01089792

Expected delivery within 24 Hours