subject

//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

}
}

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 11:00
Describe three characteristics of at-risk drivers. a. b. c. describe three characteristics of safe drivers. a. b. c. describe three driver errors that could cause a collision. a. b. c. how will this information affect you as a driver now and in the future? (2-3 sentences)
Answers: 2
question
Computers and Technology, 24.06.2019 13:20
3. ranga ramasesh is the operations manager for a firm that is trying to decide which one of four countries it should research for possible outsourcing providers. the first step is to select a country based on cultural risk factors, which are critical to eventual business success with the provider. ranga has reviewed outsourcing provider directories and found that the four countries in the table that follows have an ample number of providers from which they can choose. to aid in the country selection step, he has enlisted the aid of a cultural expert, john wang, who has provided ratings of the various criteria in the table. the resulting ratings are on a 1 to 10 scale, where 1 is a low risk and 10 is a high risk. john has also determined six criteria weightins: trust, with a weight of 0.3; quality, with 0.2; religious, with 0.1; individualism, with 0.2; time, with 0.1; and uncertainity, with 0.1. using the factor-rating method, which country should ranga select? why? (2 points)
Answers: 3
question
Computers and Technology, 24.06.2019 17:30
When you type january in a cell, then copy it using the fill handle to the cells below and the data automatically changes to february, march, april, and so on, what is this feature called? auto fill automaticcopy monthfill textfill
Answers: 1
question
Computers and Technology, 24.06.2019 18:30
Jacking is a crime that takes place when a hacker misdirects url to a different site. the link itself looks safe, but the user is directed to an unsafe page
Answers: 1
You know the right answer?
//TO DO: Import the Scanner class class Main {
public static void main(String[] args) {
...
Questions
question
Health, 17.11.2020 14:00
question
Mathematics, 17.11.2020 14:00
question
Mathematics, 17.11.2020 14:00
question
Spanish, 17.11.2020 14:00
Questions on the website: 13722363