The assignment is to create Pascal\'s Triangle without using arrays. I have the method that produces the values for the triangle below. The method accepts an integer for the
import java.util.*; class Mine { public static void main(String ar[]) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); for(int i=1;i=3) { for(int m=2;m