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

64. Human beings are composed of progressively larger units of organization. Which unit of organization includes all the others? Ocells O organs systems tissues
Is the ordered pair (2, 3) a solution of the system? 2x+y=1 x-2y=8
5. The table below lists the masses and velocities of several moving things. Object Mass (kg) Velocity (m/s) 16 0.4 Dog Truck 5000 0.5 450 Steel Pellet 0.003 To
8(v + 1) = 88 so what does v =
What is 358 rounded to
After reading 234 pages of a book Henry still had 1/3 left of the book. How mnay pages are their in the whole book? PLSS HURRY!!
The angry sky roared and threw lighting around. A-simile B-metaphor C-Hyperbole D-Personification E-Idiom
Find the circumference of the circle ​
If a race car averages 138 miles per hour for 4 ​hours, how far does the car​ travel?
According the table, CFLs are than incandescent bulbs. a. smaller b. larger c. brighter d. cooler