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.
<span>Volatile memory requires electricity or some kind of current to store information, and nonvolatile memory does not.</span>
Addresses packets at the internet layer
Operational data is used to sustain applications that help facilitate operations.
These databases are directed to as application-oriented. Analytical data is used to examine one or more business areas, such as sales, costs, or profit
<h3>What is the distinction between operational and information-analytical systems?</h3>
Operational systems are prepared to deal with the running values of data. Informational Systems deal with the collection, collection, and deriving of information from data.
<h3>What is the distinction between operational and analytical reporting?</h3>
Analytical reporting is introduced toward supporting the strategic and preparing functions of senior management.
Functional reporting is oriented toward helping the day-to-day organizational functions.
To learn more about Operational data, refer
brainly.com/question/22670650
#SPJ4
<span>A linear bus topology uses a common background cable to connect all network devices.</span>