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 much its 5+3+3×15=
The expression sqrt(-18x^3y^4), where x and y both are greater than zero, is equivalent to
Charles spearman believed that intelligence is composed of two specific abilities-________.
What was the sequence of events that led to the liberation of Spanish South America?
The probability of choosing an odd number and then a 20
Greenwald and his colleagues (2003) asked both black and white participants to press a "shoot" button when the target appeared to be holding a gun (rather than
What happens to a virus that manages to cross the blood-brain barrier and enter the brain?​?
the sum of two numbers is 68 the large number is 18 more than the smaller number what are the numbers
According to an​ airline, flights on a certain route are on time 80​% of the time. suppose 15 flights are randomly selected and the number of​ on-time flights i
what is the radius of a cylinder if the volume is 192 pi and has a height of 12cm