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

What is the volume of the liquid in the graduated cylinder? f 13.50 mL g 14.50 mL h 14.00 mL j 13.00 mL
Discount stores are self service merchandise outlets that sell goods at lower prices than usual and ____
Which religion spread by missonaries and pilgrims who traveled the silk road?A. BuddhismB. ChristianityC. HinduismD. Islam
15+15%+5%=? plz help
Can you help or tell answer for numbers 1 2 3 4
HEELLPPP what does this quote mean
Which event had a profound impact on Tennesseans' opinion over secession?
Jackie bought a circular rug to place on the floor in her bathroom. The rug has a diameter of 6 feet. What is the area of the rug in square feet?
hailey began reading her book at 9:55am. she read for 1 hour 35 mins. she spent 45 mins. doing homework what time did she finish her homework?
Latitude lines A) run north to south around the planet B) are sometimes called meridians C) display distance in relation to the equator D) include both the