diff --git a/pattern.c b/pattern.c new file mode 100644 index 0000000..380e9fe --- /dev/null +++ b/pattern.c @@ -0,0 +1,14 @@ +public class CharacterPattern1 +{ +public static void main(String args[]) + { + for(char c='A';c<='Z';c++) + { + for(char d='A';d<=c;d++) + { + System.out.print(d+" "); + } + System.out.println(); + } + } +} \ No newline at end of file