Answer:
cooperate society
Explanation:
A cooperative society is a voluntary association that started with the aim of the service of its members.
Answer:
The difference and the steps to insert media in the project can be defined as follows:
Explanation:
Title:
The title is a document, that defines the object that is legally operated.
Caption:
The Caption is also known as the title or the heading, which described the words on a screen, that conveys the message, that is being said.
Difference:
- The titles will be assigned to the starting of the clip, that selects, and charges will be applied to the project at the end.
- The caption may also be applied as a text to a specific clip for the reason.
Step to insert any media in the project:
- Choose the preferred location to insert your media.
- Tap on the top of the insert Tab.
- Choose the desired media form.
- after selecting your desired media, click on the insert button, at this, the media will be inserted.
Answer:
Following are the code to the given question:
#include <iostream>//header file
using namespace std;
class Window //defining a class Window
{
private:
int width, height;//defining integer variable
public:
friend ostream& operator << (ostream& stm, Window& width)//defining a friend function that takes two parameters
{
return stm<<"a ("<<width.width<<" x "<<width.height<<") window"; //use return keyword that return its values
}
Window(int width, int height): width(width), height(height)//defining parameterized constructor that inherit width and height in its parameters
{}
};
int main() //Main method
{
Window w(80,90);//calling class constructor
cout<<w;//print object value
return 0;
}
Output:
a (80 x 90) window
Explanation:
In the above code, a class "Window" is defined that uses a friend function "ostream& operator" is declared that uses the "ostrea&" as a data type to hold two-variable "stm and w" in its parameter, and declared the parameterized constructor to hold value by inheriting width and height in its parameters.
Inside the main method, a class object is created that calls the constructor and uses the print method to print object value.