Answer:
1:1
Explanation:
According to my research on different types of relationships between two variables, I can say that based on the information provided within the question the entities PROFESSOR and DEPARTMENT exhibit a 1:1 relationship. In other words there can only be one Professor per Department and vice-versa.
I hope this answered your question. If you have any more questions feel free to ask away at Brainly.
Answer:
Call showValue (12)
Explanation:
The function is a block of the statement which performs the special task.
if you define the function, then you have to call that function.
Then, program control moves to the function and start to execute otherwise not execute the function.
the syntax for calling the function:
name(argument_1, argument_2,....);
we can put any number of arguments in the calling.
check the options one by one for finding the answer:
Call showValue( Integer): this is valid calling but it passes the variable, not the 12. this is not correct.
Call showValue( Integer 12): This is not valid calling, because it passes the data type as well which is incorrect.
Call showValue( Real): this is valid calling but it passes the variable, not the 12. this is not correct.
Call showValue (12): this valid calling and also pass the value 12.
Therefore, the correct answer is option b.
Answer: When companies charge different
prices for the same product, they're using
B.) Dynamic Pricing
Is the most accurate
Explanation: If a firm can find a way to charge every customer the price he/she values a good at, the firm can capture more profits than it could with a single price, in a given market.
Answer:Amino Acid
Explanation:
All proteins have amino acids
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.