Declare and implement one friend function in such way that


Need this typed, and able to be compiled in visual studio. +1 if both are done!

Your programming assignment is to:

Create an application that declares a class, and in it two friend functions.

Declare and implement one friend function in such way that, you shouldn't be able to modify, but only read the class attributes.

Declare and implement the other friend function in such way that, you should be able to both read and modify the class attributes.

In the main() function, create an object of the class. Call your two friend functions using that object as an argument to demonstrate the use of the friend functions.

Add plenty of narrative comments.

Your program must be compilable and executable.

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: Declare and implement one friend function in such way that
Reference No:- TGS02874756

Expected delivery within 24 Hours