Answer:
The function definition to this question can be given as:
Function definition:
void printAttitude(int x1) //define function printAttitude.
{
//nested else-if statements
if(x1==1)
//if block
cout<<"disagree"<<endl;
//message
else if(x1==2)
//else if block
cout<<"no opinion"<<endl;
//message
else if(x1==3)
//else if block
cout<<"agree"<<endl;
//message
else
cout<<" ";
}
Explanation:
In the above method definition firstly, we define a method that is "printAttitude". In this method, we pass an integer variable that is "x1". This function does not return any value because its return type is void. In this method, we use nested else-if statements. The description of these conditions can be given as:
- In the if block we check the variable x1 value is equal to 1 If this condition is true. It will print "disagree" otherwise it will go to else-if block.
- In the else-if block, we check the variable x1 value is equal to 2 if the condition is true. It will print "no opinion". otherwise, we will go to another else-if block.
- In this block, we check the variable x1 value is equal to 3 if this condition is true. It will print "agree".otherwise it will go to else block.
- In the else block it will print nothing.
<span>When it comes to linear programming, the solution which would be effective in satisfying all constraints in the given program in a simultaneous matter is called that of feasible programming. This is due to the fact that the program can satisfy all requirements at the same time.</span>
<u>I will advise Sara to do research about the problem on the Internet.</u>
<u>Explanation</u>:
Internet is a network that helps in connecting one computer with other globally. Communication between the computers is possible until the computers are connected with to the Internet. Internet helps in getting information from any computer and interacts with the users of the computer.
Sara finds some issue with her computer. She was troubleshooting, but she could not find the exact problem. She was not sure with the problem that she found. It is better for Sara to do research about her problem on Internet and find the solution.
Answer:
A(n) <u>Data Warehouse</u> is a central repository that contains stored or archived data gathered from multiple databases.
Explanation:
A data warehouse is also database that is considered as central database of the company, where data of whole company is gathered and stored from multiple databases of the company. It also contains the archived data of the company that could be needed in future.
For Example
A company has several branches and franchises, each of place having own database to store the relevant information about that particular platform. The company has its own database that is linked with all platform's databases of the company. This central database is called data warehouse that gathers data from all sub data bases to analyze the operations and services of the company at different places. This database contains archive data of different databases of the company.