So that they can lower the I2R losses
Answer and Explanation:
//buchi
Var firstNumber=prompt("please enter first number");
Var secondNumber=prompt("please enter second number");
Var thirdNumber=prompt("please enter third number");
Var numberTotal=firstNumber+secondNumber+thirdNumber;
Function calculateNumbers(){
return numberTotal;
return int(numberTotal/3);
return firstNumber*secondNumber*thirdNumber;}
Console.log(calculateNumbers());
Answer:
False because the inside could be dirty and cause problems.
Explanation:
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);