A compound microscope uses multiple lenses to magnify an image for an observer. It is made of two convex lenses: the first, the ocular lens, is close to the eye; the second is the objective lens. Compound microscopes are much larger, heavier and more expensive than simple microscopes because of the multiple lenses.
Answer:
The following Window class are given below:
class Window // define a class Window
{
private: //access modifier
int width, height; // integer type variable which is width and height
public: //access modifier
Window(int w,int h) //constructor that accepts two integer parameters
{
width = w;
height = h;
}
friend bool areSameSize(Window a, Window b)
{
if ((a.height == b.height) && (a.width == b.width))
return true;
else return false;
}
};
Explanation:
According to the question: Firstly we have define a class which name is 'Window' and then we take two integer type data member and after that we have constructor that takes two integer type parameters and after all we have a areSameSize, friend function, which can take two objects and then it give output in the form of true or false, if they are the equal size and finally we check that if the width and the height match then it returns the true and else it returns the false
The Internet can be best described as network of networks since it connects over 50 million computer worldwide.
Router, just know the internet is bunch of routers communicating with each other so the answer is a router