The employee would access an intranet to maintain security.
<u>TCP connection:</u>
Once TCP connections reached steady state that makes end user that connectivity is stable. But end user has to do analysis the pinging time ready. for example in operating system command prompt mode ends user have to ping designation tcpip address.
<u>Computer A</u>
In command prompt mode end user try ping 10.10.10.10 –t (i.e. Computer B tcpip Address). End user tries to ping destination tcpip address if result comes in milliseconds then it is good connectivity rate.
Same away
<u>Computer B</u>
In command prompt mode end user try ping 10.10.10.20 –t (i.e. Computer A tcpip Address). End user tries to ping destination tcpip address if result comes in milliseconds then it is good connectivity rate.
End user can also check by executing TRACERT commands on designation tcpip address. End user can find how the flow of network packets travels.
Answer:
The function written in C++
int str(string word)
{
int count = 1;
for(int i =0; i<word.length();i++)
{
if(word[i] == ' ')
{
count++;
}
}
return count;
}
Explanation:
This line defines the function
int str(string word)
{
This line initializes count to 1
int count = 1;
This line iterates through the input string
for(int i =0; i<word.length();i++)
{
This line checks for blank space
if(word[i] == ' ')
{
Variable count is incremented to indicate a word count
count++;
}
}
return count;
}
<em>See attachment for full program</em>