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

Divide x^4 + 4x^3 – 2x^2 – 7 by x^2 + 1. What is the remainder?
Does anyone know this
Use similarity to solve for the length of side XY. Round to the nearest tenth.
help please i need help please
someone took my money into passive voice​
can u really help me plssssit's indonesian language.i really have no ideaTeks negosiasi juga bisa disebut sebagai teks yang didalamnya berisi proses untuk menca
What is female genital Mutilation
There are thirteen shirts in your closet, eight blue and five green. You randomly select one to wear on Monday and then a different one on Tuesday. You wear a b
TRADE OFFER I receive laugh you receive points
help asap and I give you the brainliest​