<span>The Java code below will ask for two integers and display the sum. If a non-integer is submitted the code will ask again. The break is used to exit the while true loop indicating that no-errors had occurred and two numbers were added.
System.out.print("Please insert two integers and this will display the sum.");
int numOne;
int numTwo;
while (True) {
try{
System.out.print("Integer Number One? ");
numOne = input.nextInt();
System.out.print("Integer Number Two? ");
numTwo = input.nextInt();
System.out.print("The Sum Is: " + (numOne + numTwo));
break;
}
catch (InputMismatchException e) {
System.out.print("please enter an integer .");
}
}</span>
X = <span>weight of the baby.
y = </span>weight of the doctor.
z = weight of the nurse.
x + y = 78 so y = 78 - x
x + z = 69 so z = 69 - x
x + y + z = 142
substitute y = 78 - x and z = 69 - x into x + y + z = 142
x + y + z = 142
x +78 - x + 69 - x = 142
-x + 147 = 142
-x = - 5
x = 5
answer
<span>the weight of the baby was 5 kg</span>
Answer:
The correct answer would be option C.
Step-by-step explanation:
Since he gives the dog 3 liters of water and 500 grams of food a day we know that on the fifth day the dog will have gotten 15 liters of water and 2,500 grams of food.
Answer:
The correct answer is 1.5 to 5.5
Step-by-step explanation:
Answer:
<h2>The measure of angle KJL is 40°.</h2>
Step-by-step explanation:
Givens


Notice that
, by definition sum of arcs.
Replacing given values, we have

Which means 
Notice that arc KP is the subtended arc by angle KJL.
We know that the angle formed by a tangen and a secant is equal to one-half of the difference of the intercepted arcs.

Therefore, the measure of angle KJL is 40°.