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 enlightment?​
write the equation y=x-4 in standard form (Ax + By = C)
que son formas escritas
Solve the logarithmic equation. Round the answer to four decimal places. 2^x=25 A)x=-4.6439 B)x=4.3554 C)x=3.5289 D)x=4.6439
Which is an example of personification?
Draw and label the circle given by the equation (x - 5 + y + 10 = 6^2​
URGENT a right triangle is shown enter the value of x
Foods that have 35% of a daily intake of a nutrient are classified the same as those that have 20%. True or False
Who wants to ch. at. I'm bore.d​
1/9 (2m - 16) = 1/3 (2m + 4)