diff --git a/Programs/patterns/Pattern10.java b/Programs/patterns/Pattern10.java new file mode 100644 index 0000000..ac1ad52 --- /dev/null +++ b/Programs/patterns/Pattern10.java @@ -0,0 +1,35 @@ +package pattern; + +import java.util.*; + +class Pattern10{ + + + + static Scanner Sc=new Scanner(System.in); + public static void main(String args[]) + { + int n; + n=Sc.nextInt(); + pattern10(n); + + } + +// A +// BB +// CCC +// DDDD +// EEEEE + + private static void pattern10(int n) { + char ch='A'; + for(int i=0;i