Answer: I think the Valorous Unit Ribbon
Explanation: I don't really understand what's it asking but I sort of did to get this answer!
Answer:
To convert hexadecimal number 11BA to decimal, follow these two steps:
Start from one's place in 11BA : multiply ones place with 16^0, tens place with 16^1, hundreds place with 16^2 and so on from right to left
Add all the product we got from step 1 to get the decimal equivalent of 11BA.
Using the above steps, here is the work involved in the solution for converting 11BA to decimal number (Don't forget that we start from ones place to so on...)
Decimal equivalent of "A" = (A) 10 × 16^0 = 10
Decimal equivalent of "B" = (B) 11 × 16^1 = 176
Decimal equivalent of "1" = 1 × 16^2 = 256
Decimal equivalent of "1" = 1 × 16^3 = 4096
Decimal equivalent of "11BA" = 409625617610
11BA = 4538
Here is the final answer, The hexadecimal number 11BA converted to decimal is therefore equal to:
4538
OPTION A would be the answer
Because there is a very likely chance you can get electrocuted which could lead to medical treatment or even death. Also if working near trees or polls or anything that is touching a power line may lead to you being electrocuted.
Answer:
import java.util.Scanner;
public class num1 {
public static void main(String[] args) {
System.out.println("Age Greater than 18?");
System.out.println("Y = \"Yes\"\t N = \"No\"");
Scanner in = new Scanner(System.in);
char response = in.next().charAt(0);
switch(response) {
case 'Y':
case 'y':
System.out.println("You can Visit this Website");
break;
case 'N':
case 'n':
System.out.println("You are to young to visit this website");
break;
default:
System.out.println("You response is not valid");
}
}
}
Explanation:
- Using Java programming language
- create a list of options for users to input "yes" or "no"
- Using the imported scanner class, prompt, receive and store the user's response in a char variable.
- Use the switch statement in an expression to test user input and print appropriate message.
- If there is no match print the default message