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

Eight more than the product of a number and 7 equals 6
Refer to the image below. The portion of the letter labeled 7. is the _______________________ a Name of the Recipient b Your Favorite Person c The Name of th
what happens after a criminal or civil case
Find the value of x. Then tell whether the side lengths form a Pythagorean triple. 26 24 The value of x is
Question 1 (1.5 points) Which of these is a common thread that runs through the vignettes "Papa Who Wakes Up Early in the Dark," "Born Bad," and "Geraldo No Las
If the diameter of a circle is 6, then the circumference is 12 True False
Select the correct answer What should the boy of an essay contain in each paragrapin2 OA O a one topic sentence and see supporting detail sentences four support
What is the main idea of this photo? I WILL MARK AS BRANLIEST
The picture represents muscle tissue. Which type of muscle tissue is pictured? cardiac skeletal smooth striated
Which of the following diseases is impossible to eradicate? * Tetanus Measles Dracuncuhasis Poliomyelitis