PYRAMID
WAP TO PRINT THE PYRAMID. public class Pyramid { public static void main(String [] args) { int i,j; char ch= 'A'; for(i=1;i<=3;++i) { for(j=1;j<=9;++j) { if((i+j)%2==0&&…
It looks like you're using an ad blocker. We rely on ads to keep our site free, please whitelist us!
Click here to continue