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.
The question above has multiple choices as follows.
<span>a.
</span>App extensions
<span>b.
</span>Sitelink extensions
<span>c.
</span>Structured snippet extensions
<span>d.
</span>RSLAs (remarketing lists for search ads)
The correct answer is (A) App extensions
App extensions are a great way for people to access your
website. They allow you to link to your tablet or mobile app from your text adds.
If you want to drive app downloads, app promo ads might be the best option.
This is true for most modern computers