Java Program to print pyramid pattern of stars and numbers