Answer:
int age = 10;
switch (age){
case 0:
case 1:
System.out.println("ineligible");
break;
case 2:
System.out.println("toddler");
break;
case 3:
case 4:
case 5:
System.out.println("early childhood");
break;
case 6:
case 7:
System.out.println("young reader");
break;
case 8:
case 9:
case 10:
System.out.println("elementary");
break;
case 11:
case 12:
System.out.println("middle");
break;
case 13:
System.out.println("impossible");
break;
case 14:
case 15:
case 16:
System.out.println("high school");
break;
case 17:
case 18:
System.out.println("scholar");
break;
default:
System.out.println("ineligible");
}
Explanation:
In java and many other programming languages, a switch statement is a way of having multiple branching options in a program. This is usually considered a more efficient way than using multiple if....else if statements. and the expression variables could be byte, char int primitive data types. etc. every branch (option) in a switch statement is followed by the break statement to prevent the code from "falling through". In the question The variable age is declared as an int and initialized to 10. and tested against the conditions given in the question.
Answer:
Explanation:
Computer also facilitate comfort to our life and provides convenience. For transportation, it facilitate the way people travel. Airways, Roadways and waterways uses computers to control their operation. It saves time and relieve severity of traveling difficulties.
Answer:
Implement a blacklist on the firewall and add the site the users are visiting.
Explanation:
A manager in a small office is asking if it is possible to limit network access to a particular website during business hours. Apparently, several users are spending an excessive amount of time on the site preventing them from completing their work-related tasks. The best solution to accomplish the request from the manager is to implement a blacklist on the firewall and add the site the users are visiting.
The acceptable use policy is known to be a policy that is made up of practices that all its users need to agree to in order to be able to make use of such network or other resource.
The items are:
- Social media page .
- Internet address, applications.
- Accessing private or confidential information.
<h3>What is an acceptable use policy?</h3>
An acceptable use policy (AUP) is known to be document that is said to tell about the constraints as well as the practices that a user need to agree to be able to access a given corporate network or the Internet.
Therefore, The acceptable use policy is known to be a policy that is made up of practices that all its users need to agree to in order to be able to make use of such network or other resource.
Learn more about acceptable use policy from
brainly.com/question/2625500
#SPJ1