Challenge: Get to Know the User

  1. Prompt the user to enter:

    1. Their name

    2. Their favorite number

  2. Print a personalized message that combines both inputs.

Challenge: Get to Know the User

  1. Prompt the user to enter:

    1. Their name

    2. Their favorite number

  2. Print a personalized message that combines both inputs.

import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        // Write your code here:
    }
}
Project on user input