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

is 19/4 feet long piano will fit on 5 feet long space?
round 81.139 to the nearest tenth
What fraction is the same as seven tenths
HOw are producers, consumers, and decomposers alike and different
53 divided by 6324=?
While researching a history paper, you see a graph that shows federal spending on defense in the past 200 years. You notice that federal spending throughout the
Two ants are at a common point at time t=0, the first ant starts crawling along a straight line at the rate of 4 ft/min. Two minutes later, the second ant start
Which of the following was primarily a political challenge that the United States faced after the Civil War? (Points : 3) worthless Confederate currency that le
Are volcanoes scattered randomly or concentrated in definite zoned
effect: spain's long-term naval superiority dwindled