Giter VIP home page Giter VIP logo

Comments (32)

pujanchangubhari73 avatar pujanchangubhari73 commented on July 30, 2024 2

package forpattern4;

/**
*

  • @author Pujan
    */
    public class ForPattern4 {

    /**

    • @param args the command line arguments
      */
      public static void main(String[] args) {
      for (int i = 1; i <=5; i++) {

       for (int j = 1; j<=5; j++) 
       {
       
       System.out.print("*");
      

      }

       System.out.println();
      

    }
    }

}

image

from java.

kiir33 avatar kiir33 commented on July 30, 2024

package pattern;

/**
*

  • @author KIRANN
    */
    public class Pattern1 {

    /**

    • @param args the command line arguments
      */
      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("");
      }
      }
      }

Output
capture

from java.

raBbn avatar raBbn commented on July 30, 2024

/*

  • 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 javaapplication11;

/**
*

  • @author Kishorr
    */
    public class JavaApplication11 {

    /**

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

}
capture

from java.

SusanCB avatar SusanCB commented on July 30, 2024

package pat1;

/**
*

  • @author Susan
    */
    public class Pat1 {

    /**

    • @param args the command line arguments
      /
      public static void main(String[] args) {
      for (int i = 1; i <=5; i++) {
      for (int j = 1; j <=5; j++) {
      System.out.print("
      ");

       }
       System.out.println("");
      

      }
      // TODO code application logic here
      }

}
capture

from java.

RakenShahi avatar RakenShahi commented on July 30, 2024

/*

  • 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 star1;

/**
*

  • @author DELL
    */
    public class Star1 {

    /**

    • @param args the command line arguments
      /
      public static void main(String[] args) {
      // TODO code application logic here
      for (int i = 5; i > 0; i--) {
      for (int j = 0; j < 5; j++) {
      System.out.printf("
      ");

       }
       System.out.print("\n");
      

      }
      }

}

OUTPUT
capture

from java.

Roshanshrestha7 avatar Roshanshrestha7 commented on July 30, 2024

package ass3;

/**
*

  • @author PURUSHOTAM
    */
    public class Ass3 {

    /**

    • @param args the command line arguments
      /
      public static void main(String[] args) {
      for (int i = 0; i < 5; i++) {
      for (int j = 0; j < 5; j++) {
      System.out.print("
      ");
      }
      System.out.print("\n");
      }
      // TODO code application logic here
      }

}
capture

from java.

milan604 avatar milan604 commented on July 30, 2024

Pattern#1

package pattern1;

/**
*

  • @author m-lan
    */
    public class Pattern1 {

    /**

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

}
Output
screenshot from 2017-07-27 06-32-34

from java.

nabinbikramsah avatar nabinbikramsah commented on July 30, 2024

/*

  • 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 thrda1;

/**
*

  • @author bikram
    */
    public class Thrda1 {

    /**

    • @param args the command line arguments
      */
      public static void main(String[] args) {
      for (int i = 1; i<=5; i++) {
      for (int j = 1; j <=5; j++) {

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

      }
      // TODO code application logic here
      }

}
output
capture

from java.

maheshyakami avatar maheshyakami commented on July 30, 2024

/*

  • 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 day2;

import com.sun.java_cup.internal.runtime.Scanner;

/**
*

  • @author mahesh
    */
    public class Day2 {

    /**

    • @param args the command line arguments
      */
      public static void main(String[] args) {
      // TODO code application logic here

      //1
      System.out.println("Pattern 1");
      for (int i = 0; i < 5; i++) {
      for (int j = 0; j < 5; j++) {
      System.out.print("*");
      }
      System.out.println(" ");
      }
      System.out.println();

    }

}
screen shot 2017-07-27 at 6 40 59 am

from java.

sarumdr avatar sarumdr commented on July 30, 2024

/*

  • 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 pattern1;

/**
*

  • @author sarumdr
    */
    public class Pattern1 {

    /**

    • @param args the command line arguments
      /
      public static void main(String[] args) {
      // TODO code application logic here
      for (int i = 0; i <5; i++) {
      for (int j = 0; j <5; j++) {
      System.out.print("
      ");
      }
      System.out.printf("\n");
      }
      }

}

OUTPUT
pattern1

from java.

jagdish4249 avatar jagdish4249 commented on July 30, 2024

package pattern0;

/**
*

  • @author jagdish
    */
    public class Pattern0 {

    /**

    • @param args the command line arguments
      */
      public static void main(String[] args) {

      for (int i = 1; i <= 5; i++) {

       for (int j = 1; j <= 5; j++) {
       System.out.print("*");    
       }
      

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

}
screenshot from 2017-07-27 06-36-15

from java.

duwalshraddha avatar duwalshraddha commented on July 30, 2024

Code :
package pattern1;

/**
*

  • @author Lenovo
    */
    public class Pattern1 {

    /**

    • @param args the command line arguments
      /
      public static void main(String[] args) {
      // TODO code application logic here
      for (int i = 1; i <= 5; i++) {
      for (int j = 1; j <= 5; j++) {
      System.out.print("
      ");
      }
      System.out.println("");
      }
      }

}
output

from java.

Roshantwanabasu avatar Roshantwanabasu commented on July 30, 2024

Code:

package starprintng;

/**
*

  • @author NiiRosh
    */
    public class Starprintng {

    /**

    • @param args the command line arguments
      */
      public static void main(String[] args) {
      // TODO code application logic here

      for (int i = 0; i < 5; i++) {
      for (int j = 0; j < 5; j++) {
      System.out.printf("*");

       }
       System.out.println("");
      

      }
      }

}

Output:
capture

from java.

rabina12 avatar rabina12 commented on July 30, 2024

*/
package pattern1;

/**
*

  • @author Awal
    */
    public class Pattern1 {

    /**

    • @param args the command line arguments
      /
      public static void main(String[] args) {
      //pattern// TODO code application logic here
      System.out.print("-----Pattern1-----\n");
      for (int i = 0; i < 5; i++) {
      for (int j = 0; j < 5; j++) {
      System.out.print("
      ");

      }
      System.out.println();

    }
    capture

from java.

AmritDuwal avatar AmritDuwal commented on July 30, 2024

/*

  • 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 astrik.sam;

/**
*

  • @author Amrit Duwal
    */
    public class AstrikSam {

    /**

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

}
capture

from java.

leoprabin10 avatar leoprabin10 commented on July 30, 2024

/*

  • 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 lab5;

/**
*

  • @author Albina Praz
    */
    public class Lab5 {

    /**

    • @param args the command line arguments
      */
      public static void main(String[] args) {
      //for (int i = 0; i < 10; i++) {
      //System.out.println(++i);
      //System.out.println(i++);
      //if (i % 2 != 0) {
      //System.out.println(i);
      /*int i = 0;
      while (i < 0) {
      System.out.println(i);
      i++;
      }

      do {
      System.out.println(i);
      i++;
      } while (i < 10);*/

      int i = 0;
      for (i = 0; i < 10; i++) {

      }
      System.out.println(i);

    }

}
// TODO code application logic here
capture

from java.

sthaanu avatar sthaanu commented on July 30, 2024

public static void main(String[] args) {

    for (int i = 0; i < 4; i++) {
        for (int j = 0; j < 4; j++) {
            System.out.print("*");

        }
        System.out.print("\n");
    }

}

capture

from java.

karmi214 avatar karmi214 commented on July 30, 2024

/*

  • 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 pattern1;

/**
*

  • @author Anish
    */
    public class Pattern1 {

    /**

    • @param args the command line arguments
      /
      public static void main(String[] args) {
      // TODO code application logic here
      for (int i = 0; i < 4; i++) {
      for (int j = 0; j < 5; j++) {
      System.out.printf("
      ");
      }
      System.out.printfln("");
      }
      }

}
p1

from java.

sajanbasnet75 avatar sajanbasnet75 commented on July 30, 2024

/*

  • 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) {
      // pattern1
      System.out.println("Pattern1");
      for (int i = 1; i <= 5; i++) {
      for (int j = 1; j <= 5; j++) {
      System.out.print(" * ");
      }
      System.out.println(" ");
      }
      }
      }
      1

from java.

bsnarnzt1 avatar bsnarnzt1 commented on July 30, 2024

package pattone;

/**
*

  • @author User
    */
    public class PattOne {

    /**

    • @param args the command line arguments
      /
      public static void main(String[] args) {
      for (int i = 1; i <= 4; i++) {
      for (int j = 1; j <= 5; j++) {
      System.out.print("
      ");
      }
      System.out.println("");
      }
      }
      }

Output:
capture1

from java.

syslin avatar syslin commented on July 30, 2024

/*

  • 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 daytwo;

/*

@author dell
*/
public class DayTwo {

/**
 * @param args the command line arguments
 */
public static void main(String[] args) {
    // TODO code application logic here


    for (int i = 0; i < 5; i++) {
        for (int j = 0; j < 5; j++) {
            System.out.print("*\t");
          

        }
        System.out.print("\n");

    }

output
1

from java.

kajalmaharjan avatar kajalmaharjan commented on July 30, 2024

//PATTERN_1
for (int i = 0; i < 5; i++) {
for (int j = 0; j < 5; j++) {
if (i >= j) {
System.out.printf("* ");

            }
        }
        System.out.printf("\n");
    }

image

from java.

rivab avatar rivab commented on July 30, 2024

package pattern1;

/**
*

  • @author DELL
    /
    class Pattern1 {
    /
    *
    • @param args the command line arguments
      */
      public static void main(String[] args) {

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

       }
       System.out.print("\n");
      

      }
      }

}
1

from java.

rituratnam avatar rituratnam commented on July 30, 2024

CODE:
public static void main(String[] args) {
for (int i = 0; i < 4; i++) {
for (int j = 0; j < 5; j++) {
System.out.printf("*");

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

}
Output:

pattern1

from java.

Rajjushrestha avatar Rajjushrestha commented on July 30, 2024

//Pattern 1
for (inti = 0; i< 4; i++)
{
for (int j = 0; j < 5; j++)
{
System.out.printf("*");
}
System.out.println();
}
1

from java.

sanzeevtamang avatar sanzeevtamang commented on July 30, 2024

CODE:

   package day3;

/**
*

  • @author Eev
    */
    public class DaY3 {

    /**

    • @param args the command line arguments
      /
      public static void main(String[] args) {
      // pattern 1
      for (int i = 1; i <= 4; i++) {
      for (int j = 1; j <= 5; j++) {
      System.out.printf("
      ");
      }
      System.out.printf("\n");
      }

    }

}

Output:
pattern 1

from java.

luckydivya avatar luckydivya commented on July 30, 2024

Output:
public class Pattern {

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

}
Code:
pattern1

from java.

 avatar commented on July 30, 2024

package javaapplication44;

/**
*

  • @author Samikshya
    */
    public class JavaApplication44 {

    /**

    • @param args the command line arguments
      /
      public static void main(String[] args) {
      // TODO code application logic here
      for (int i = 0; i < 5; i++) {
      for (int j = 0; j < 5; j++) {
      System.out.print("
      ");
      }
      System.out.println(" ");
      }
      }

}

capture

from java.

Sudan15423 avatar Sudan15423 commented on July 30, 2024

/*

  • 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 day3;

/**
*

  • @author dragon15423
    */
    public class Day3 {

    /**

    • @param args the command line arguments
      */
      public static void main(String[] args) {
      for (int i = 1; i < 5; i++) {
      for (int j = 1; j <= 5; j++) {
      System.out.print(" * ");
      }
      System.out.println();
      }
      }
      Output:
      3

from java.

ajay987 avatar ajay987 commented on July 30, 2024

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

        }
        System.out.print("\n");
    }

patternsol1

from java.

SusanCB avatar SusanCB commented on July 30, 2024

/*

  • 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 pat1;

/**
*

  • @author nissus
    */
    public class Pat1 {

    /**

    • @param args the command line arguments
      /
      public static void main(String[] args) {
      for (int i = 1; i <=5; i++) {
      for (int j = 1; j <=5; j++) {
      System.out.print("
      ");

       }
       System.out.println("");
      

      }
      // TODO code application logic here
      }

}
pat1

from java.

ragenmah avatar ragenmah commented on July 30, 2024

package pattern1;

/**
*

  • @author ragen
    */
    public class Pattern1 {

    /**

    • @param args the command line arguments
      /
      public static void main(String[] args) {
      for (int i = 0; i < 5; i++) {
      for (int j = 0; j < 5; j++) {
      System.out.printf("
      ");
      }
      System.out.println("");
      }
      }

}

Output





from java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.