Answer:
int counter = 0;
String userInput = "";
while (userInput != "stop") {
print "What pet do you have? ";
userInput = readInputLine();
if (userInput != "stop" ){
counter = counter + 1;
print "\nYou have one ";
print userInput;
print ". Total # of Pets: ";
print counter;
}
}
Explanation:
not sure what programming language you use, therefore the answer is pseudocode but it should give you an idea how to implement a piece of code for this problem.
Also, from the way you described the exercise I'm not sure if you always are supposed to reply with "you have one" + the pet or if you should count how often the same pet was entered.
Explanation:
Copy the code as many times as needed so that each usage is separate.
Answer:anti various
Explanation:hope fully this will help u
Answer:
Bandwidth
Explanation:
Bandwidth is the rate of transfer of data in the given time. Its unit is Bit/sec.
It is used to measure the transfer rate of bit in a network.
You manage small LAN for a branch office. The branch office has three file servers and few client workstations. You want to use Ethernet device and offer guaranteed bandwidth to each server. You design the network by <u>connecting all network devices to a switch. Connect each server to its own switch port.</u>
<u></u>
Explanation:
- A local-area network (LAN) is a computer network that spans a relatively small area.
- Most often, a LAN is confined to a single room, building or group of buildings, however, one LAN can be connected to other LANs over any distance via telephone lines and radio waves.
- The LAN is the networking infrastructure that provides access to network communication services and resources for end users and devices spread over a single floor or building.
- Designing a LAN for the campus use case is not a one-design-fits-all proposition.
- If there is a single 48-port switch, 47 devices can be supported, with only one port used to connect the switch to the rest of the network, and only one power outlet needed to accommodate the single switch