Answer:
1 no
2 no
3 no
4 yes
5 no
Step-by-step explanation:
Answer:
D
Step-by-step explanation:
Since Alyssa wants to know her gas mileage, which is MILES PER GALLON, she will need to divide total miles by total gallons.
"per gallon" means per 1 unit of gallon, which we will get ONLY IF WE DIVIDE by TOTAL NUMBER OF GALLONS, hence we get "per unit of gallon".
<u>So we need to divide 243.8 miles by 7.71 gallons to get Alyssa's gas mileage.</u>
Answer choice D is right.
Answer:
There were 14 cartons of size 2 rackets and 24 cartons of size 3 rackets
Step-by-step explanation:
Assume that the number of cartons holding 2 rackets is x and the number of cartons holding 3 rackets is y
∵ There are x cartons of 2 rackets
∵ There are y cartons of 3 rackets
∵ They used 38 cartons
∴ x + y = 38 ⇒ (1)
∵ They packed a total of 100 rackets
∴ 2x + 3y = 100 ⇒ (2)
Let us solve the system of equations
→ Multiply equation (1) by -2 to make the coefficients of x in
the equations equal in values and different is signs
∵ -2(x) + -2(y) = -2(38)
∴ -2x - 2y = -76 ⇒ (3)
→ Add equations (2) and (3)
∴ y = 24
→ Substitute the value of y in equation (1) or (2) to find x
∵ x + 24 = 38
→ Subtract 24 from both sides
∴ x + 24 - 24 = 38 - 24
∴ x = 14
There were 14 cartons of size 2 rackets and 24 cartons of size 3 rackets
<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>