ErSKS / Java

Java Training
http://khec.edu.np/
MIT License
16 stars 17 forks source link

Submit Pattern2 #2

Closed ErSKS closed 7 years ago

ErSKS commented 7 years ago

pattern2

milan604 commented 7 years ago

Pattern 2 package pattern2;

/*

}

Output screenshot from 2017-07-27 13-49-34

raBbn commented 7 years ago

/*

/*

} capture2

jagdish4249 commented 7 years ago

package pattern2;

/*

}

image

pujanchangubhari73 commented 7 years ago

package forpattern1;

/*

maheshyakami commented 7 years ago

/*

/*

}

screen shot 2017-07-27 at 5 01 31 pm
sthaanu commented 7 years ago
public static void main(String[] args) {
    for (int i = 0; i < 5; i++) {
        for (int j = 0; j < 5 - i; j++) {

            System.out.print("*");

        }
        System.out.println(" ");
    }

capture

sajanbasnet75 commented 7 years ago

/*

To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. */ package assignment2; /*

@author LORDsajan */ public class Assignment2 {

/**

@Param args the command line arguments / public static void main(String[] args) { // pattern3 System.out.println("\nPattern3"); for (int i = 1; i <= 5; i++) { for (int j = 5; j >= i; j--) { System.out.print("*"); } System.out.println(" "); } } } 3

karmi214 commented 7 years ago

/*

/*

} p3

syslin commented 7 years ago

/*

/*

} output 2

ghost commented 7 years ago

package pattthree;

/*

kajalmaharjan commented 7 years ago

//PATTERN 2 for (inti = 5; i> 0; i--) { for (int j = 0; j <i; j++) { System.out.printf("*"); } System.out.println(); } image

rabina12 commented 7 years ago

System.out.println("--------------Pattern 2\n----------------------"); for (int i = 0; i < 5; i++) { for (int j = 0; j <= i; j++) { System.out.print("*"); } System.out.println(""); } capture2

RakenShahi commented 7 years ago

/*

/*

}

OUTPUT 2

rituratnam commented 7 years ago

CODE: package pattern2;

/*

} Output: pattern2

rivab commented 7 years ago

package starstar3;

/*

} starstar3

Roshantwanabasu commented 7 years ago

Code: /*

/*

} Output: pattern2

leoprabin10 commented 7 years ago

public static void main(String[] args) { // TODO code application logic here System.out.println("Pattern 1\n"); for (int i = 0; i < 5; i++) { for (int j = 0; j < 5; j++) { System.out.print("*"); } System.out.println(""); } capture2

duwalshraddha commented 7 years ago

Code package pattern3;

/*

} 1

Rajjushrestha commented 7 years ago

public static void main(String[] args) { for (int i = 5; i > 0; i--) { for (int j = i; j >0; j--) { System.out.print("*"); } System.out.print("\n"); }

2 2 }

sanzeevtamang commented 7 years ago

/*

/*

}

pattern 3

Roshanshrestha7 commented 7 years ago

public class Ass2 {

/**
 * @param args the command line arguments
 */
public static void main(String[] args) {
    for (int i = 0; i < 6; i++) {
        for (int j = 0; j < i; j++) {
            System.out.print("*");
        }
        System.out.print("\n");
    }

// TODO code application logic here }

}

image

Sudan15423 commented 7 years ago

/*

/*

ajay987 commented 7 years ago

for (int i = 5; i > 0; i--) { for (int j = i; j > 0; j--) { System.out.print("*");

        }
        System.out.println();
    }

patt2sol

sarumdr commented 7 years ago

/*

/*

} OUTPUT

pattern2

sarumdr commented 7 years ago

/*

/*

} OUTPUT

pattern2

luckydivya commented 7 years ago

code for pattern 2.

package pattern2;

/*

} output

pattern2

ragenmah commented 7 years ago

package pattern2;

/*

}

Output




*