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

Below are the account balances for Cowboy Law Firm at the end of December. Accounts Balances Cash $ 4,700 Salar
please anyone help me to answer this questions.plzz... it's very urgent..​
Which answer best completes this dialogue? —¿Cuántos días hay en una semana? —Hay _____ días en una semana. A. cincuenta y dos B. siete C. cuatro D. tres ciento
the religious colonist Errand into the wilderness was
A horizontal stretch by a factor of 2 would have what kind of effect on the graph?
If the density of a diamond is 3.15 g/cm3 then what is the mass of a 25cm diamond?
How many counties were originally established in Georgia? five nine 10 eight
cookies are sold singly or in packages of 2 or 6. with this packaging, how many ways can you buy exactly 10 cookies? Please help ASAP!!!
Write the number 4302000000000 in scientific notation.
Which number is a common factor of 50 and 125?