<span>This is an java command program.
String 1 is stands for str1= '' forest '' accepted within quote marks.
String 2 is stands for str1= '' school'' accepted within quote marks
the command compareto will cause the output will display as shown below :
str1.compareto(str2); when run this command
we will get the output like this ;
forest
school
==================================================
the model program is like this;
{
String str1 = " forest " ;
String str2 = "school ";
System.out.println();
System.out.println("String 1: " + str1);
System.out.println("String 2: " + str2);</span>
Answer:
33 gasoline
Step-by-step explanation:
if 350 miles =25gosoline
then 462 miles=?
462 miles will used more gasoline so if more less divides
=462/350×25
=33 gasoline
The weight of one foot of the steel pipe is 1.24 pounds or more accurately, 1.239905.... pounds.
This type of problem is solved using cross multiplication. You know the length (16.84 feet), and the weight (20.88 pounds), of the steel pipe. But what you do not know is the weight of one foot of the steel pipe. Since that is what we are solving for, the weight of one foot of the steel pipe will be our x variable.
This is how I set it up...
16.84 1
——— * ———
20.88 x
I came up with this equation. The length of the pipes I put in the numerator (top), and the weight I put in the denominator (bottom). Since 16.84 feet of a steel pipe weighs 20.88 pounds, 1 foot of a steel pipe weighs x pounds. After you have the equation set up you then move on to cross multiplication.
Step 1: Multiply the top number of the first fraction by the bottom number of the second fraction.
16.84*x= 16.84x
Step 2: Multiply the bottom number of the first fraction by the top number of the second fraction.
20.88*1=20.88
Step 3: Set the answers from step 1 and step 2 equal to each other.
16.84x=20.88
Step 4: Divide 16.88 on both sides so x is by itself.
16.84x 20.88
——— = ———
16.84 16.84
And after you divide on each side you have your answer which should be x=1.24
Answer:
28yd^2
Step-by-step explanation: