If you're talking about connecting to the internet internet, it would be the PS2. You could buy an adapter for an ethernet cable to allow for online play.
Answer: Right
Explanation: If you use the Command Right (90°), it makes sense that Tracy turns right 90°...
Natural
Resources that fueled American Industrialization
<span>1.
Iron ore: Used to create steel and pig iron.
Used for railroad ties, bridges, buildings.</span>
2.
Coal: with the invention of the steam engine, coal replaced wood in fueling the
steam engine and machinery used in various industries such as the steel
industry.
<span>3.
Oil: The ability to use a steam engine for oil drilling started an oil boom in
the United States. It helped with the creation of a
Petroleum-refining industry. Transformed
oil into Kerosene and later gasoline for the automobile</span>
Lumber:
Used to fuel the steam engines that were used on trains, steamboats, and in
industry for the new machines being invented that ran on steam.
<span> </span>
Your answer would be 5098 liters.
Reason being, because there are 1,000,000 liters in one megalitre, so you just multiply 0.005098 by 1,000,000 to get your answer of 5098 liters.
Answer:
- import java.util.Scanner;
- public class Main {
-
- public static void main(String[] args) {
-
- Scanner input = new Scanner(System.in);
- System.out.print("Please enter two characters: ");
- String inputStr = input.nextLine();
-
- if(inputStr.charAt(0) == 'B' || inputStr.charAt(0) == 'b'){
- System.out.println("Biology");
- }
- else if(inputStr.charAt(0) == 'C' || inputStr.charAt(0)== 'c'){
- System.out.println("Computer Science");
- }
- else if(inputStr.charAt(0) == 'I' || inputStr.charAt(0) == 'i')
- {
- System.out.println("Information Technology and Systems");
- }
- else{
- System.out.println("Invalid major");
- }
-
- int num = Character.getNumericValue(inputStr.charAt(1));
-
- if(num >= 1 && num <= 4){
- switch (num){
- case 1:
- System.out.println("freshman");
- break;
- case 2:
- System.out.println("sophomore");
- break;
- case 3:
- System.out.println("junior");
- break;
- case 4:
- System.out.println("senior");
- break;
- }
-
- }
- else{
- System.out.println("Invalid year status");
- }
-
- }
-
- }
Explanation:
The code consists of two main parts. The part 1 is to validate the input major and print out the major according to the input character (Line 10 -22). If the input character is not matched with the target letters, a message invalid major will be displayed.
The part 2 is to validate the year status to make sure it only fall within the range of 1-4 (Line 26 -45). If within the range, the program will display the year major accordingly. If not a message invalid year status will be displayed.