Escriba el programa AJVA a VHeck si Anumber es inferior a 20 y mayor que 5. Genera la excepción de lo contrario de lo contrario. Si el número está dentro del rango, muestra el cuadrado de ese número.

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