I need a Java program that uses recursion to do thefollowing
3 Pattern Specification The program reads a single integer from the user. If that integer is less than 1, it prints the message “Input is less than1 and stops. Don’t ask for a better value. Stop. Otherwise, it prints a pattern of integers as demonstrated in the table below. Print a newline after reading the input and before printing the answer. Print another newline
OR
OR