Search:

Type: Posts; User: Nisuga

Search: Search took 0.09 seconds.

  1. Re: I want the java coding to print following # pattern in cmd.exe . So pls help me .. It must start with 6 #'s and end with 2 #'s .

    3256


    above pic is a screenshot of my output..
    pls ..i have no idea how the code interconnects with the pattern.....It's better if someone(who knows) can give me the code........I want following...
  2. Re: I want the java coding to print following # pattern in cmd.exe . So pls help me .. It must start with 6 #'s and end with 2 #'s .

    ok..thanks, the output is terrible.... it shows unending #'s.
  3. Re: I want the java coding to print following # pattern in cmd.exe . So pls help me .. It must start with 6 #'s and end with 2 #'s .

    public class pattern {
    public static void main(String[] args) {

    for (int row = 6; row >= 2; ++row){
    for (int col = 1; col <= row; --col){
    System.out.print("#");
    }
    System.out.println();
    }
    }
  4. I want the java coding to print following # pattern in cmd.exe . So pls help me .. It must start with 6 #'s and end with 2 #'s .

    ######
    #####
    ####
    ###
    ##
  5. I want the java coding to print following # pattern in cmd.exe . So pls help me .. It must start with 6 #'s and end with 2 #'s .

    ######
    #####
    ####
    ###
    ##
Results 1 to 5 of 5