Answer:
When we journey from a particular city to another city and we don’t really know the path then we ask for path and go on that which is just the same thing as packet switching.
Explanation:
Suppose system A intends to send packet to system B the steps and procedures are given below
1. A breakdown of large file into smaller bits of data on system A will first occur.
2.It attach separate headers for every portion of the file so that each portion looks like separate packet.
3.Header file in chunks will contain ip address of the file receiver which here is system B.
4. the Switch system will utilize the IP present in header to decide the link to destination.
The answer is D. All of the above.
You can have a word/ sentence whatever all three. bold, underlined, and italicised. <span />
Here you go. The program will count entered zeros. Null is not happening here...
int main()
{
int NNeg = 0;
int NPos = 0;
int NZero = 0;
std::cout << "Enter 6 numbers:\n";
for (int i = 0; i < 6; i++) {
double number;
std::cin >> number;
if (number < 0.0) NNeg++;
else if (number > 0.0) NPos++;
else NZero++;
}
std::cout << "You entered:\n";
std::cout << NNeg << " negative numbers\n";
std::cout << NZero << " times zero\n";
std::cout << NPos << " positive numbers\n";
}