12g + 9g simplified is 21g
<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:
If one or more of the shared sites go down, then there is a good chance that your site will go down as well.
Explanation:
Shared web hosting is a form of web hosting service whereby more than one websites are placed on a single web server that connects to the internet.
Though it is cheaper, it has various problems. And over time, it has been concluded that the major problem associated with shared web hosting is the security issue.
This implies that "If one or more of the shared sites go down, then there is a good chance that your site will go down as well."
Some other problems associated with Shared web hosting are poor value, less flexibility, none advanced features, slow service, less support.
Answer:
You must attach the database files
Explanation: