Napisz program AJVA do VHeck, jeśli liczba jest mniejsza niż 20 i większa niż 5. Generuje wyjątek poza zasięgiem. Jeśli liczba znajduje się w zakresie, wyświetla kwadrat tej liczby.

write a java program to check if number is less than 20 and greater than 5. It generates the exception out of range otherwise. If the number is within the range , then it displays the square of that number.
Sayan Mukherjee