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:
The answer is 2,3,4 and the next one is 1,2 and 4
Explanation:
Just did it
EDG 2021
Answer:
-19/32
Explanation:
(If I assume d to be x)
4x+3/8=-2
or,4x=-2-3/8=-19/8
or,x=(-19/8)*(1/4)=-19/32
<span>or by following directions on screen </span>
The most popular Operating Systems are:
Android
IOS
Windows