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.
Change the color to black and white
There are no answrt choices it would be very helpful if you added them, then I could help you.
Answer:
WLAN's or Wireless LAN Units have 2 main modes of operation
Explanation:
The Two Main modes of Operation are the following
<u>Infrastructure Mode:</u> in this mode the main WLAN unit becomes the main connection point in which all devices are connected to and the main unit provides an internet connection to all the devices connected to it.
<u>Ad Hoc Mode:</u> in this mode devices transfer data from one another back and forth without permission from a base unit.
Some WLAN units will also include 2 extra modes of operation called Bridge and Wireless Distribution System (WDS).
<u>Bridge Mode:</u> this mode allows the base unit to act as an intermediary and bridge two different connection points. Such as bridging a wired connection with a wireless one.
<u>WDS Mode:</u> this mode uses various access points to wirelessly interconnect devices to the internet using repeaters to transmit connections. It can provide internet to both wired and wireless clients.
I hope this answered your question. If you have any more questions feel free to ask away at Brainly.