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);
Behind the wheel, the Florida driving test, turn about, shifting gears, parking, backing up, stop quickly, stop signs, signal & turns
A <u>Virtual hard disk</u> is a specially formatted file that, once mounted, or connected to a virtual machine appear and operate pretty much identically to a physical hard drive.
<h3>What is a virtual hard disk?</h3>
A virtual hard disk (VHD) is a disk picture file format for storing the entire ranges of a computer's hard drive.
The disk image, sometimes called a virtual machine (VM), duplicates an existing hard drive, including all data and structural elements.
<h3>Why would you count a virtual hard disk?</h3>
Typically, a VHD comes in handy to add additional storage to a Hyper-V virtual machine, and thanks to its capacity to support other OS installations, you can even use this storage virtualization technology to make a dual-boot system without modifying an existing partition.
To learn more about virtual hard disk , refer
brainly.com/question/4733444
#SPJ4
Shabaka. Ajswvansja nakash a slaps alpaca sma sharkskin a jab .