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.
I think B and the second one C
Answer:
The correct answer to the following question will be "Data".
Explanation:
- Data would be any series of one or even more signs which are given significance by unique classification action. To become knowledge the data needs to be interpreted.
- Data is generally considered to be the "bridge" that connects the designer's machine part with the practical side.
Therefore, this will be the right answer.
The answer is <span>2TB. T</span>he master boot record (mbr) method of partitioning hard drives is limited to 2TB. <span>The </span>Master Boot Record<span> (</span>MBR<span>) is the information in the first </span>sector<span> of any hard disk that identifies how and where an OS is located, so that it can be </span>boot<span> (loaded) into the computer's main storage or RAM.</span>