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

liam is arranging chairs in 8 rows of the same length he has 7 chairs left over if he arranges the chair in 6 rows of the same length he has 15 left over how ma
unless grunkle stan pines is mistaken, there is a family of deer’s in his garden
Which of the following is a fundamental building block of all matter? A. carbohydrate B. protein C. molecule D. atom
which cannot be a cross section of the figure? A cross section of the figure cannot be a ____
(4%) Problem 10: The standard frequency of the musical pitch called "middle C" is 261.6 Hz. show answer No Attempt How fast, in meters per second, would a sourc
Marina is drawing a plan for a new garden. The rectangle plotted in the coordinate plane represents the garden, measured in feet. How much soil will she need to
Simplify (^3)x4 Easy 30 points
Can 33,56,65 be a right triangle
-15=11-2t I’m not sure how to solve this equation I have to find out what t equals
Describe in 1-2 sentences what an energy pyramid represents.