Answer:
Following are the statement in the C++ Programming Language.
//check condition that score1 is greater than score2
if (score1 > score2)
{//print the message and brake line
cout << "player1 wins" << endl;
//increment in the variable by 1
++player1Wins;
//increment in the variable by 1
++player2Losses;
}
//check condition when score2 is greater than score1
else if (score2 > score1)
{
//print the message and brake line
cout << "player2 wins" << endl;
//increment in the variable by 1
++player2Wins;
//increment in the variable by 1
++player1Losses;
}
//otherwise
else
{
//print the message and brake line
cout << "tie" << endl;
//increment in the variable by 1
++tieCount;
}
Explanation:
<u>Following are the description of the program</u>.
- In the statement, we check that the variable 'score1' is greater than 'score2' then, print message and brake line, then increment in the variables by 1 that is 'player1Wins' and 'player2Losses'.
- Again check that the variable 'score2' is greater than 'score1' then, print message and brake line, then increment in the variables by 1 that is 'player2Wins' and 'player1Losses'.
- Otherwise, print the following message and break line then, increment in the variable 'tieCount'
Answer:
The technician has made a cross-over cable.
Explanation:
The network is a platform that provides two or more computers to communicate. There different types of networks, namely, local-area network (LAN), wide-area network (WAN), MAN or metropolitan-area network etc.
Devices in a network can be connected with cables (ethernet IEEE 802.3) or wirelessly (wifi IEEE 802.11a/n/g). Wiring standards are strictly followed in ethernet configuration.
Two ethernet wiring standards are T568A and T568B. The difference in both standards are the pin configuration and their position in a wire defines a cable system.
When a T568A or T568B are used on both ends of a twisted pair cable, it is called a straight-through cable. When T568A is used on one end and T568B on the other, it is called a cross-over cable.
These cable systems are used for different applications. the straight-through cable is used for connecting devices that are not the same like router to switch, switch to computer etc. The cross-over cable connects similar network devices like router to router, switch to switch etc.
The answer is commas. <span>When listing columns in the select list, commas should be used to separate the columns.</span>
Answer:
The answer is "Option c and Option d".
Explanation:
A diagram for a case use is a UML dynamic or computational diagram, that is used in the case diagram model. It consists of a set of actions, services, and functions to be carried out by the system. and The class diagram refers to relationships between the UML classes and the source code that dependence, that is two diagrams that affect the system and others are wrong, which can be explained as follows:
- In option a, It is used for business process, that's is not correct.
- In option b, It is used for both professionals industry like software and business, that's why it is wrong.
- In option e, It is used in only high-level language, that's why it is wrong.
- In option f, It is used to adjust its layout that's why it is wrong.