aleyaj9698 aleyaj9698
  • 03-04-2021
  • Computers and Technology
contestada

Ask the user to input a country name. Display the output the message "I would love to go to [country]"

Respuesta :

nerd1232 nerd1232
  • 03-04-2021

Answer:

import java.util.Scanner;

public class Country{

public static void main (String[] args){

Scanner input = new Scanner(System.in);

System.out.print("Input a country name: ");

String country = input.nextLine();

System.out.println("I would love to go to " + country);

}

}

Explanation:

Answer Link

Otras preguntas

How did Jerry Falwell’s theological perspective shift after founding the Moral Majority?
Which sentence best summarizes the central conflict in Amateratsu?
Let's Go Skating You are going skating with a group of friends. The rink Charges $4 to rent skates and $3 per 30 minutes. You will have to rent skates, not too
What's the difference between a church and a chapel?.
Kalia spent a quarter of her weekly allowance on a movie. The movie was $4.75. What is her weekly allowance?
what was the daily life in the 1800s
e Los datos de la edición de la revista que aparecen SON​
Use tiles to create an expression that is equal To 24 represented by lights that foot the shape Basically (3+??) x (2+??) = 24 ^^ ^^ I need to know these
After which event did the united states and the soviet union emerge as superpowers with respect to the rest of the world?.
What happened between the French and British. Why was there conflict?