Skip to main content

Posts

Featured

NUMBER PYRAMID Pattern simple Java Programming code

Output of Code: java .\NumberPyramid.java      1     2 2    3 3 3   4 4 4 4  5 5 5 5 5 6 6 6 6 6 6 Java Code: public class NumberPyramid {     public static void main ( String [] args ) {         int n = 6 ;         // char ch = 'A';         for ( int i = 1 ; i <= n ; i ++) {             for ( int j = 1 ; j <= n - i ; j ++) {                 System . out . print ( " " );             }             for ( int j = 1 ; j <= i ; j ++) {                 System . out . print ( i + " " );             }             System . out . println ( " " );         }     } }

Latest posts

Print Half Pyramid Character Pattern Java Programming Code

CMS E-commerce Bangladesh sites List (Bangladeshi Online Shop)

ফাইল গায়েব? খুজেঁ বের করুন সহজে || Find Hidden Files and Folders file ea...

I haven't received the email

কম্পিউটার প্রোগ্রামিং - ১ম খন্ড

Fusion Splicer Maintenance Guide to Operation & Tool Software

Bijoy Keyboard

থান্ডার বার্ড (Thunderbird)