Challenge 4: Pascal's Triangle
In this challenge, you have to implement Pascal's triangle using a two-dimensional Array.
Problem statement
Implement a Java method that takes an integer size as input and displays a table that represents a Pascal’s triangle using a two-dimensional array.