how computer networks is beneficial in your field of study
1) Create two classes which stores distance in feet, inches and meter, centimeter format respectively. Write a function which compares distance in object of these classes and displays the larger one.
2) Create a class which stores name, author and price of a book. Store information for n
number of books. Display information of all the books in a given price range using
friend function.
1) Write a program to swap private data member of two classes. [The classes have no relation with each other].
2) Modify program 1) to make the swap function member of one class and friend to another class.