Comments (24)
package forpattern28;
/**
*
@author Pujan
*/
public class ForPattern28 {
/**
@param args the command line arguments
*/
public static void main(String[] args) {
char[] b = {'N', 'E', 'P', 'A', 'L'};
for (int i = 0; i <= b.length; i++) {
for (int a = 0; a <= i; a++) {
System.out.printf(" ");
}
for (int j = i; j <= 4; j++) {
System.out.print(b[j]);
}
System.out.printf("\n");
}
}
}
from java.
package pattern16;
/**
*
-
@author jagdish
*/
public class Pattern16 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic herechar[] country = {'N','E','P','A','L'};
int l = country.length;
for ( int i = l; i >= 1; i--) {
int z = l-i;
for ( int j = l; j >= 1 ; j--) {if(i<j){ System.out.print(" "); } else{ System.out.print(country[z]); z++; } }
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 pattern19;
/**
*
-
@author Kishorr
*/
public class Pattern19 {/**
*-
@param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
char[] arr = {'N', 'E', 'P', 'A', 'L'};
char[] arr1 = {'A', 'B', 'C', 'D'};
for (int i = 0; i < 5; i++) {
for (int j = 0; j < 5; j++) {
if (j < i) {
System.out.print(" ");
} else {
System.out.print(arr[j] + " ");
}
}System.out.println("");
}
-
}
from java.
package pattern16;
/**
*
-
@author m-lan
*/
public class Pattern16 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
char a[] = {'N', 'E', 'P', 'A', 'L'};
int b = 0;
for (int i = 1; i <= a.length; i++) {
for (int j = 1; j <= i; j++) {
System.out.printf(" ");
}
int c = b;
for (int k = a.length; k >= i; k--) {
System.out.printf("%c", a[c]);
c++;} b ++; 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 pattern19;
/**
*
-
@author admin
*/
public class Pattern19 {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
char[] a = {'N', 'E', 'P', 'A', 'L'};
for (int i = 0; i < a.length; i++) {
for (int j = 0; j < a.length; j++) {
if (j >= i) {
System.out.print(a[j]);
} else {
System.out.print(" ");
}
}
System.out.println("");
}
}
- @param args the command line arguments
from java.
System.out.println("Pattern 19\n----------------------");
for (i = 0; i < N; i++) {
for (j = 0; j < N; j++) {
if (j < i) {
System.out.print("\t");
} else {
System.out.print(nep[j] + "\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 pattern19;
/**
*
-
@author Anish
*/
public class Pattern19 {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
char[] v = {'N', 'E', 'P', 'A', 'L', 'I'};
for (int i = 0; i < v.length; i++) {
for (int j = 0; j < v.length; j++) {
if (j >= i) {
System.out.print(v[j]);
} else {
System.out.print(" ");
}
}
System.out.println("");
}
}
- @param args the command line arguments
from java.
//PATTERN 20
char[] n4 = {'N', 'E', 'P', 'A', 'L'};
for (int i = 0; i < n4.length; i++) {
for (int j = 0; j < i; j++) {
System.out.print(" ");
}
for (int k = i; k < n4.length; k++) {
System.out.print(n4[k]);
}
System.out.println("");
}
from java.
package pattern22;
/**
*
-
@author Samikshya
*/
public class Pattern22 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
char n[] = {'N', 'E', 'P', 'A', 'L'};
for (int i = 0; i < 5; i++) {
for (int j = 0; j < i; j++) {
System.out.print(" ");} for (int k = i; k < 5; k++) { System.out.print(n[k]); } 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 paterrn;
/**
*
-
@author dell
*/
public class Paterrn {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
char[] a = {'N', 'E', 'P', 'A', 'L'};
System.out.println("pattern 20");
for (int i = 0; i < a.length; i++) {
for (int j = 0; j < a.length; j++) {
if (j >= i) {
System.out.print(a[j]);
} else {
System.out.print(" ");
}
}
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 q17;
/**
*
-
@author DELL
*/
public class Q17 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
int b = 5;char[] a = {'N', 'E', 'P', 'A', 'L'};
for (int i = 0; i <= 4; i++) {for (int k = 0; k < i; k++) { System.out.printf(" "); } for (int j = i; j < b; j++) { System.out.printf("%c", a[j]); } System.out.print("\n");
}
}
-
}
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 pattern19;
/**
*
-
@author NiiRosh
*/
public class Pattern19 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
char[] nep = {'N', 'E', 'P', 'A', 'L'};
for (int i = 0; i < nep.length; i++) {
for (int j = 0; j < nep.length; j++) {
if (j < i) {
System.out.print(" ");
} else {
System.out.print(nep[j]);
}
}System.out.println("");
}
}
-
}
from java.
System.out.println("\n\n\n");
for (int i = 0; i < n.length; i++) {
for (int j = 1; j < i + 1; j++) {
System.out.print(" ");
}
for (int k = 1; k <= n.length - i; k++) {
System.out.print(n[k - 1] + " ");
}
System.out.println();
}
// TODO code application logic here
}
from java.
-
@author Albina Praz
*/
public class P16 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic herechar[] a = {'N', 'E', 'P', 'A', 'L'};
for (int i = 0; i < a.length; i++) {
for (int j = 0; j < a.length; j++) {
if (j >= i) {
System.out.print(a[j]);
} else {
System.out.print(" ");
}
}
System.out.println("");
}
}
}
-
from java.
char[] a = {'E', 'A', 'R', 'T', 'H', 'Q', 'U', 'A', 'K', 'E'};
System.out.println("Output of Q.No.20");
for (int i = 0; i < a.length; i++) {
for (int j = 0; j < i; j++) {
System.out.print(" ");
}
for (int k = 0; k < a.length - i; k++) {
System.out.print(a[k + i]);
}
System.out.println(" ");
}
from java.
package patternten9;
/**
*
-
@author User
*/
public class PatternTen9 {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
char[] a = {'N', 'E', 'P', 'A', 'L'};
for (int i = 0; i < a.length; i++) {
for (int j = 0; j < a.length; j++) {
if (j >= i) {
System.out.print(a[j]);
}
else {
System.out.print(" ");
}
}
System.out.println(" ");
}
}
}
- @param args the command line arguments
from java.
for (int i = 0; i <= a.length - 1; i++) {
for (int j = 1; j <= i; j++) {
System.out.print(" ");
}
for (int j = i; j <= a.length - 1; j++) {
System.out.print(a[j]);
}
System.out.println();
}
}
Output:
from java.
char[] a = {'N', 'E', 'P', 'A', 'L'};
for (int i = 0; i < a.length; i++) {
for (int j = 0; j < i; j++) {
System.out.print(" ");
}
for (int k = i; k < a.length; k++) {
System.out.print(a[k]);
}
System.out.println();
}
from java.
CODE:
package patternnepal;
/**
*
-
@author Lavalesh
*/
public class PatternNepal {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
char[] a = {'N', 'E', 'P', 'A', 'L'};
for (int i = 0; i < a.length; i++) {
for (int j = 0; j < i; j++) {
System.out.print(" ");
}
for (int k = 0; k < a.length - i; k++) {
System.out.print(a[k + i]);
}
System.out.println(" ");
}
}
}
Output:
- @param args the command line arguments
from java.
Code
package pattern17;
/**
*
-
@author Lenovo
*/
public class Pattern17 {/**
- @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
char[] x = {'N', 'E', 'P', 'A', 'L'};
for (int i = 0; i <= x.length - 1; i++) {
for (int j = 1; j <= i; j++) {
System.out.print(" ");
}
for (int j = i; j <= x.length - 1; j++) {
System.out.print(x[j]);
}
System.out.println();
}
}
}
- @param args the command line arguments
from java.
public static void main(String[] args) {
char a[] = {'N', 'E', 'P', 'A', 'L'};
for (int i = 0; i < a.length; i++) {
for (int j = 0; j < i; j++) {
System.out.print(" ");
}
for (int k = i; k < a.length; k++) {
System.out.print(a[k]);
}
System.out.print("\n");
}
from java.
/**
*
@author sarumdr
*/
public class Pattern19 {
/**
@param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
char[] v = {'N', 'E', 'P', 'A', 'L', 'I'};
for (int i = 0; i < v.length; i++) {
for (int j = 0; j < v.length; j++) {
if (j >= i) {
System.out.print(v[j]);
} else {
System.out.print(" ");
}
}
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 pat17;
/**
*
-
@author nissus
*/
public class Pat17 {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
char[] a = {'N', 'E', 'P', 'A', 'L'};for (int i = 0; i <= a.length; i++) {
for (int j = 0; j <= i; j++) {
System.out.print(" ");
}
for (int j = i; j < a.length; j++) {
System.out.print(a[j]);
}
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 patternp;
/**
*
-
@author Eev
*/
public class PatternP {/**
-
@param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
char[] a = {'N', 'E', 'P', 'A', 'L'};
for (int i = 0; i < a.length; i++) {
for (int j = 0; j < a.length; j++) {
if (j >= i) {
System.out.print(a[j]);
} else {
System.out.print(" ");
}
}
System.out.println(" ");}
}
-
}
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.