Write a Java program to print the following Binary Pyramid?
Output:
Enter range of Binary Pyramid: 5
1
1
010
10101
0101010
Output:
Enter range of Binary Pyramid: 5
1
010
10101
0101010
No comments:
Post a Comment