Please help me, its emergency!!! i really don't know how to do please help me.

The 10 numbers will be collected from the keypad using a loop. If the number entered is a prime number (Prime number is a number that is divisible by itself and by one only), only, that number will be added.

https://www.guru99.com/java-program-check-prime-number.html

I understand that you need help with a program that collects 10 numbers from a keypad and if a number is a prime number, it should be added to a list. I can assist you with that!

To solve this problem, you can follow these steps:

1. Initialize an empty list to store the prime numbers.
2. Create a loop that iterates 10 times, allowing the user to enter a number from the keypad at each iteration.
3. Inside the loop, check if the entered number is a prime number using a function or a separate code snippet.
4. If the number is prime, add it to the list of prime numbers.
5. Once the loop finishes, display the list of prime numbers.

Now, let's break down each step into further detail:

1. Initialize an empty list:
In your programming language, create an empty list to store the prime numbers. This list will be used to append the prime numbers later.

2. Create a loop to collect 10 numbers:
Use a loop construct, such as a for loop or a while loop, to ask the user for input 10 times. Inside the loop, prompt the user to enter a number from the keypad.

3. Check if the entered number is a prime number:
To determine if a number is prime, you can use a function or create a separate code snippet. One way to check for prime numbers is to iterate from 2 up to the square root of the number and check for divisibility. If the number is divisible by any number other than 1 and itself, it is not prime.

4. Add the prime numbers to the list:
Inside the loop, after checking if the number is prime, if it is prime, append it to the list of prime numbers.

5. Display the list of prime numbers:
After the loop finishes, print or display the list of prime numbers.

I hope this explanation helps you in solving the problem! If you have any further questions or need additional help, feel free to ask.