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

Use the Rational Zeros Theorem to write a list of all possible rational zeros of the function. (2 points) f(x) = 3x3 + 39x2 + 39x + 27
How would you describe current perspectives to someone who has no idea about our society?
Can you make money out of rocks or stone?
4 It takes Joaquin hour to hike mile. What is Joaquin’s unit rate, in miles per hour?
the largest building in the world by volume is the boeing 747 in Everest, Washington. it measures approximately 631m long, 707 yards wide and 110 ft high. what
A restaurant has a sales rev of 500000, vc of 200000, and fixed costs of 200000. the owner wants net income after tax of $40,000. tax rate is 30%. what is the o
write your own sentence usimg the word 'drive' as a noun
The sun and the planets are part of the solar system. ________________ are found outside of our solar system a.stars in a nearby galaxy b.asteroids in orbit a
What is the What is the overall reaction order for this rate law: rate= k[A][B]? overall reaction order for this rate law: rate= k[A][B]?
Can someone please help me out on my assignment!? I do not understand this!!