The loop terminates when "xxxxx" is read in. If the word is land, the string followed by "land" get outputted. The same with air, and water.
Explanation:
int land = 0;
int air = 0;
int water = 0;
String word = "";
while(!(word.equals("xxxxx"))) {
word = stdin.next();
if(word.equals("land")) {
land++;
}else if(word.equals("air")) {
air++;
}else if(word.equals("water")) {
water++;
}
}
System.out.println("land:" + land);
System.out.println("air:" + air);
System.out.println("water:" + water);
Answer: Triangle
Explanation: Triangle has Tri
B) Contact metamorphism can occur.
Answer:
To find the solution of Global warming, to find the combination of some drugs and test them, etc.
Explanation:
Distributed computing can be described as when a number of computers connected on the network communicate with each other by passing messages, and these systems are known as distributed systems.
There are various goals that can be accomplished using distributed computing, one of them is to find the solution of Global warming, by coordinating with different areas.
Another one is to find the combination of some drugs and test them to make new medicine.
Computer Network, surely!
"Network" implies combination of all these computers!