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
The architectural difference between the two is that DRAM uses transistors and capacitors in an array of repeating circuits (where each circuit is one bit), whereas SRAM uses several transistors in a circuit to form one bit.
Answer: A. phones and computers
Explanation:
A tablet, is referred to as a mobile computing device which utilizes the touchscreen as the main input device that it has.
Tablets are usually bigger than a mobile phone but smaller than a computer. You can perform thesame function that you can do on your mobile phone or the computer on the tablet.
One can surf the net, play games and watch videos on the tablet.
There are good and bad, some people rely on computers, and some people need him to help them find information.