Computers and Technology
Computers and Technology, 26.03.2021 22:00, EricaCox1

//TO DO: Import the Scanner class class Main {
public static void main(String[] args) {
//TO DO: Build a Scanner object

//PROBLEM 3: Based on a user's selection from the menu below, print a message telling them what sort of meal they will receive.
System. out. println("Do you have any of the following dietary restrictions: ");
System. out. println("1.Vegetarian");
//If the user is vegetarian, display this message: "You'll be receiving a vegetarian dish."
System. out. println("2.Vegan");
//If the user is vegan, display this message: "You'll be receiving a vegan dish."
System. out. println("3.Food Allergies");
//If the user has food allergies, display this message: "Please email us your specific needs so we can create a dish just for you!"
System. out. println("4.No restrictions");
//If the user has no restrictions, display this message: "Thank you!"

System. out. println("Please enter your selection: ");
int selection = myScanner. nextInt();

//YOUR CODE GOES HERE:

//TO DO: Close the Scanner

}
}

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 23:30, sheram2010
Acomputer is a multipurpose device that accepts input, processes data, stores data, and produces output, all according to a series of stored . the processing unit of most modern computers is a(n) . the instructions that tell a computer how to carry out a task are referred to as computer , which are distributed as software. computers run three main types of software: software, system software, and development tools. an example of system software is a computer system, which is essentially the master controller for all the activities that a digital device performs. digital devices are constructed using tiny electronic components that represent data bits as electrical signals. the system unit houses the system board, which contains several circuits made from semiconducting materials. computers come in three popular form factors: component, , and slate. many of today's digital devices operate on battery power supplied by ion batteries. battery life and lifespan can be extended by following good battery management practices.
Answers: 3
image
Computers and Technology, 22.06.2019 17:30, bl88676
1. before plugging in a new device to a computer you should unplug all other devices turn off the computer turn on the computer 2. many of the maintenance tools for a computer can be found in the control panel under administrative tools display personalization
Answers: 1
image
Computers and Technology, 22.06.2019 21:00, briannaleiigh
Kirk found a local community college with a two-year program and he is comparing the cost with that of an out-of-state two-year school. what is the expected total cost for one year at the local community college if kirk lives at home? what is the expected total cost for one year at the out-of-state school if kirk lives on campus?
Answers: 2
image
Computers and Technology, 24.06.2019 10:30, pino40
Which of the following types of software is most applicable to the promotion of new products through advertising? a. databases b. spreadsheets c. web design programs d. word processing tools
Answers: 2
Do you know the correct answer?
//TO DO: Import the Scanner class class Main {
public static void main(String[] args) {
...

Questions in other subjects:

Konu
Mathematics, 16.09.2019 20:00
Konu
Biology, 16.09.2019 20:00
Konu
History, 16.09.2019 20:00