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

Answer number 5 a,b,c,d,e pls thanks
4000+48 yygttccrcrccr
What is the length of BD? What is the length of segment AC? What is the area of the triangle ABC?
Rahi is pouring concrete to create the foundation of a square deck covering 112 square feet. Which is the best estimate of one side of the deck? Round to the ne
SECOND TIME ASKING HELP!!! 6. Jackie has n nickels and q quarters in her pocket. The total value of the coins is at least $24.75. Write an inequality that repre
change -23/20 into a deciamal
1+0.9+0.08+0.001 Somebody can help me please
PROJECT: SUMMARIZE IT! The ability to summarize information is a vital component of understanding the information you read in your coursework. To summarize info
SECOND TIME ASKING HELP!!! 6. Jackie has n nickels and q quarters in her pocket. The total value of the coins is at least $24.75. Write an inequality that repre
solve the question x - 2 = long division 4x