import java.util.Scanner;

/**
 * Project: Hello World Variations
 * Author: Molla Samser
 * Company: RSK World
 * Website: https://rskworld.in
 * Contact: +91 93305 39277
 * Support: help@rskworld.in
 * Year: 2026
 * 
 * Description: Demonstrates user input using the Scanner class.
 */

public class ScannerHelloWorld {
    public static void main(String[] args) {
        // Create a Scanner object to read input
        Scanner scanner = new Scanner(System.in);

        System.out.print("Enter your name: ");
        String name = scanner.nextLine();

        // Print personalized greeting
        System.out.println("Hello, " + name + "! Welcome to RSK World.");

        // Close scanner
        scanner.close();
    }
}
