<u>Answer:</u>
<em>int fNumber,scndNumber = -1, </em>
<em>dup = 0;
</em>
<em>do {
</em>
<em>cin >> fNumber;
</em>
<em>if ( scndNumber == -1) {
</em>
<em>scndNumber = fNumber;
</em>
<em>}
</em>
<em>else {
</em>
<em>if ( scndNumber == fNumber )
</em>
<em>duplicates++;
</em>
<em>else
</em>
<em>scndNumber = fNumber;
</em>
<em>}
</em>
<em>} while(fNumber > 0 ); </em>
<em>cout << dup;
</em>
<u>Explanation:</u>
Here three variables are declared to hold the first number which is used obtain all the inputs given by the user, second number to hold the value of <em>last encountered number and “dup” variable to count the number of duplicate values.</em>
<em>“Do-while”</em> loop help us to get the input check whether it is same as previous input if yes then it <em>adds to the duplicate</em> value otherwise the new previous value if stored.
Answer:
i would but im not big brain
Explanation:
Answer:
Plutons are intrusive igneous rock bodies.
Explanation:
Hi pupil here's your answer ::
➡➡➡➡➡➡➡➡➡➡➡➡➡
They are needed because of the following reasons :
》The storage capacity of primary memory is limited.
》 Primary memory (RAM) is volatile in nature.
》 RAM is not portable memory.
》 RAM chips are expensive. Increasing RAM will increase the price of the computer.
So, for the above reasons we need to use the Secondary memory devices.
⬅⬅⬅⬅⬅⬅⬅⬅⬅⬅⬅⬅⬅
Hope this helps . . . . .
Computers that communicate over a network must follow certain <u>protocols or rules</u>, in order to ensure that data are transmitted properly and understood.
<h3>What is a protocol?</h3>
A protocol can be defined as a formatted blocks of data that have been designed and established to obey a set of standard rules (conventions) such as the Transmission Control Protocol and Internet Protocol (TCP/IP).
In Computer networking, all computers and other network devices that communicate over a network must follow certain <u>protocols</u><u> or rules</u>, in order to ensure that data are transmitted properly and well understood by end users.
Read more on protocol here: brainly.com/question/17387945