😀If you want to print pascal Tringal then this source code for you.😂 import java.util.Scanner; class PascalTringal1 { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); for(int i=0;i<n;i++){ for(int s=0;s<n-i;s++){ System.out.print(" "); } int val=1; for(int j=0;j<=i;j++){ System.out.print(val+" "); val=val*(i-j)/(j+1); } System.out.println(); } System.out.println(""); } } Output:
Success of Your life.These website will provides the latest technology and also provide the development of programming logic. computer science branch this website is very important. Every day practice code and developed the logic.