I think I am not sure that it is probably b
<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:
A document file format is a text or binary file format for storing documents on a storage media, especially for use by computers. There currently exist a multitude of incompatible document file formats.
Explanation:
The Rearrangement of the words are:
- Ear map
- Rent cup
- METREON
- Sister or
- Sister Cane
<h3>What is arrangement of words?</h3>
A sorting method is known to be the orders of entries that are based on each word or phrase found in a heading, e.g. spaces, etc.
The Rearrangement of the words are:
- Ear map
- Rent cup
- METREON
- Sister or
- Sister Cane
Learn more about Arrangement from
brainly.com/question/984329
#SPJ1