Comments (27)
/*
- 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 javaapplication16;
/**
*
-
@author Kishorr
*/
public class JavaApplication16 {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int k = 1;
for (int i = 0; i < 4; i++) {
for (int j = 0; j <= i; j++) {
System.out.printf(" " + k + " ");
k++;
}
System.out.println("");
}
}
- @param args the command line arguments
from java.
package pattern8;
/**
*
-
@author m-lan
*/
public class Pattern8 {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
int a=1;
for (int i = 1; i <=5; i++) {
for (int j = 1; j < i; j++) {
System.out.printf("%d ",a);
a++;
}
System.out.println("");
}
}
- @param args the command line arguments
from java.
package pattern4;
/**
*
-
@author jagdish
*/
public class Pattern4 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int x = 1;
for (int i = 1; i <= 4; i++) {
for(int j = 1; j <= i; j++){
System.out.print(x+" ");
x++;
}System.out.println();
}
}
-
}
from java.
package forpattern11;
/**
*
-
@author Balkrsihna
*/
public class ForPattern11 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
int a = 1;
for (int i = 1; i <= 5; i++) {for (int j = 1; j <= i - 1; j++) { System.out.printf("%d" + " ", a); a++; } System.out.println();
}
}
-
}
from java.
/*
- 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 pattern;
/**
*
-
@author mahesh
*/
public class Pattern {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int a = 1;
for (int i = 4; i > 0; i--) {
for (int j = 4; j >= i; j--) {
System.out.print(a + " ");
a++;
}
System.out.println(" ");
}
System.out.println();
}
- @param args the command line arguments
from java.
/*
- 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 pattern6;
/**
*
-
@author admin
*/
public class Pattern6 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
int k = 1;
for (int i = 1; i < 5; i++) {
for (int j = 1; j <= i; j++) {System.out.print(k); k++; System.out.print("\t"); } System.out.println(" ");
}
}
-
from java.
/*
- 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 pattern6;
/**
*
-
@author Anish
*/
public class Pattern6 {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int a=1;
for (int i = 0; i < 4; i++) {
for (int j = 0; j < i+1; j++) {
System.out.print(a+" ");
a++;
}
System.out.println("");
}
}
- @param args the command line arguments
from java.
/*
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) {
// pattern6
System.out.println("\nPattern6");
int x = 1;
for (int i = 1; i <= 5; i++) {
for (int j = 1; j < i; j++) {
System.out.print(x++ + " ");
}
System.out.println(" ");
}
}
}
from java.
/*
- 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 patterntwo;
/**
*
-
@author dell
*/
public class PatterSix {public static void main(String[] args) {
int y = 1;
for (int i = 0; i < 5; i++) {
for (int j = 0; j < i; j++) {
System.out.printf("%d", y);
y++;} System.out.println(); }
}
from java.
package patt6;
/**
*
-
@author User
*/
public class Patt6 {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
int a=1;
for (int i = 1; i <=4; i++) {
for (int j = 1; j <=i; j++) {
System.out.print(a+" ");
a++;}
System.out.println("");
}
}
Output:
- @param args the command line arguments
from java.
//PATTERN 8
int a = 1;
for (int i = 0; i < 4; i++) {
for (int j = 0; j < 5; j++) {
if (i >= j) {
System.out.printf("%d ", a);
a++;
}
}
System.out.printf("\n");
}
from java.
/*
- 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 pattern4;
/**
*
-
@author KIRANN
*/
public class Pattern4 {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int i,j,k=1;
final int N=4;
System.out.println("Pattern 8\n----------------------");
for (i = 0; i <N; i++) {
for (j = 0; j <=i; j++) {
System.out.print(k+"\t");
k++;
}
System.out.println("");
}
}
}
- @param args the command line arguments
from java.
/*
- 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 q8;
/**
*
-
@author DELL
*/
public class Q8 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
int a=1;
for (int i = 1; i <=4; i++) {
for (int j = 0; j < i; j++) {
System.out.print(a);
a++;} System.out.print("\n");
}
}
-
}
from java.
package p8;
/**
*
-
@author Albina Praz
*/
public class P8 {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int a = 1;
for (int i = 4; i > 0; i--) {
for (int j = 4; j >= i; j--) {
System.out.print(a + " ");
a++;
}
System.out.println(" ");
}
System.out.println();
}
}
}
- @param args the command line arguments
from java.
package starstar6;
/**
*
-
@author DELL
*/
public class StarStar6 {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
int x=1;
for (int i = 1; i < 5; i++) {
for (int j = 0; j < i; j++) {
System.out.print(x);
x++;
}
System.out.print("\n");
}
}
- @param args the command line arguments
from java.
CODE:
package pattern8;
/**
*
-
@author Lavalesh
*/
public class Pattern8 {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
int a=1;
for (int i = 1; i <=5; i++) {
for (int j = 1; j < i; j++) {
System.out.printf("%d ",a);
a++;
}
System.out.println("");
}
}
}
Output:
- @param args the command line arguments
from java.
Code:
/*
- 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 pattern8;
/**
*
-
@author NiiRosh
*/
public class Pattern8 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int k = 1;
for (int i = 0; i < 5; i++) {
for (int j = 0; j < i; j++) {
System.out.printf("%d", k);
k++;} System.out.println("");
}
}
-
from java.
Code
package pattern8;
/**
*
-
@author Lenovo
*/
public class Pattern8 {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int c = 0;
for (int i = 1; i <= 4; i++) {
for (int j = 1; j <= i; j++) {
System.out.print(++c);
}
System.out.println("");
}
}
- @param args the command line arguments
from java.
public class Ass81 {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
int a = 1;
for (int i = 1; i <= 5; i++) {
for (int j = 1; j <= i - 1; j++) {
System.out.printf("%d", a);
a++;
}
System.out.println(" ");
}
// TODO code application logic here
}
from java.
/*
- 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) {
int x = 1;
for (int i = 1; i <= 5; i++) {
for (int j = 1; j < i; j++) {
System.out.print(" " + x++);
}
System.out.println();
}
}
Output:
- @param args the command line arguments
from java.
int a = 1;
for (int i = 0; i < 5; i++) {
for (int j = 0; j < i; j++) {
System.out.print(a);
a = a + 1;
}
System.out.println();
}
from java.
public static void main(String[] args) {
int x = 1;
for (int i = 1; i < 5; i++) {
for (int j = 1; j < i + 1; j++) {
System.out.print(x + "\t");
x++;
}
System.out.println("");
}
}
from java.
/*
- 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 pattern6;
/**
*
-
@author sarumdr
*/
public class Pattern6 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {// TODO code application logic here
int num = 1;
-
for (int i = 1; i < 5; i++) {
for (int j = 1; j <= i; j++) {
System.out.print(num+" ");
num++;
}
System.out.println();
}
}
}
}
from java.
/*
- 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 pat8;
/**
*
-
@author nissus
*/
public class Pat8 {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
int a=1;
for (int i = 1; i <=4; i++) {
for (int j = 1; j <=i; j++) {
System.out.print(a);
a++;
}
System.out.println("");
}
// TODO code application logic here
}
- @param args the command line arguments
from java.
/*
- 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 pattern6;
/**
*
-
@author Eev
*/
public class PatterN6 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
int x=1;
for(int i=1; i<=5; i++){
for(int j=1;j<=i; j++)
{
System.out.printf("%d",x);
x++;
}
System.out.println();
-
from java.
/*
- 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 pattern6;
/**
*
-
@author PC
*/
public class Pattern6 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
int num = 1;for (int i = 0; i <= 3; i++) {
for (int j = 0; j <= i; j++) {
System.out.printf(num + " ");
num++;
}
System.out.println("");
output
-
from java.
package pattern8;
/**
*
-
@author ragen
*/
public class Pattern8 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
System.out.println("pattern 6");
int b=1;
for (int i = 0; i < 4; i++) {
for (int j = 0; j <= i; j++) {
System.out.print(b+" ");b++; } System.out.print("\n");
}
}
-
from java.
Related Issues (20)
- Initial Design - CGPA Calculator HOT 1
- Initial Design - Blood Bank HOT 1
- Initial Design - CMS HOT 1
- Initial Design - RMS HOT 1
- Initial Design - SMS HOT 1
- Initial Design - FDC HOT 1
- Initial Design - HRS HOT 1
- Initial Design - DSMS HOT 1
- Some Screenshots - SRP HOT 1
- Some Screenshots - KLMS HOT 1
- Submit - Login UI HOT 6
- Build UI Better HOT 3
- Submit - Initial Screenshots, Source Code & Database HOT 4
- Submit - Concept Work of Your Project
- Design & Develop a Simple Calculator HOT 9
- Develop - PIN Breaker HOT 3
- Refresh JTable HOT 3
- Splash Screen - Loading
- Submit your Project Title HOT 26
- Project Submission Deadline: 31st Ashoj, 2017 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java.