Skip to content

Commit cb66393

Browse files
committed
assignments and structure update
1 parent fcb9d86 commit cb66393

69 files changed

Lines changed: 102 additions & 935 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package com.getitdone;
2+
3+
public class NumberPattern {
4+
5+
public static void main(String[] args) {
6+
int n=4;
7+
for(int i=1;i<=n;i++) {
8+
for(int j=1;j<=n;j++) {
9+
System.out.print(i);
10+
}
11+
System.out.println();
12+
13+
}
14+
15+
}
16+
17+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.getitdone;
2+
3+
public class Pattern1 {
4+
5+
public static void main(String[] args) {
6+
int n=20;
7+
for(int i=0;i<n;i++) {
8+
for(int j=0;j<n;j++) {
9+
if(j==0&&i>(n-1)/2||i>=(n-1)/2+j &&j<n-1||i==n-1||i+j>=n-1+(n-1)/2) {
10+
System.out.print("*");
11+
}
12+
else {
13+
System.out.print(" ");
14+
}
15+
16+
}
17+
System.out.println();
18+
}
19+
20+
}
21+
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.getitdone;
2+
3+
public class Pattern2 {
4+
5+
public static void main(String[] args) {
6+
int n=10;
7+
for(int i=0;i<n;i++) {
8+
for(int j=0;j<n;j++) {
9+
if(i+j<=(n-1)/2||j-i>=(n-1)/2||j==n-1||j==0||i==n-1) {
10+
System.out.print("*");
11+
}
12+
else {
13+
System.out.print(" ");
14+
}
15+
16+
}
17+
System.out.println();
18+
}
19+
20+
}
21+
22+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.getitdone;
2+
3+
public class Pattern3 {
4+
5+
public static void main(String[] args) {
6+
int n=20;
7+
for(int i=0;i<n;i++) {
8+
for(int j=0;j<n;j++) {
9+
if(j==0||j<=(n-1)/2-i&&i<(n-1)/2||i==0||i>=(n-1)/2+j &&j<n-1||i==n-1) {
10+
System.out.print("*");
11+
}
12+
else {
13+
System.out.print(" ");
14+
}
15+
16+
}
17+
System.out.println();
18+
}
19+
20+
}
21+
22+
}

Spring Core Programs/Spring ORM - UsingXML-01/.classpath

Lines changed: 0 additions & 61 deletions
This file was deleted.

Spring Core Programs/Spring ORM - UsingXML-01/.project

Lines changed: 0 additions & 23 deletions
This file was deleted.

Spring Core Programs/Spring ORM - UsingXML-01/.settings/org.eclipse.core.resources.prefs

Lines changed: 0 additions & 5 deletions
This file was deleted.

Spring Core Programs/Spring ORM - UsingXML-01/.settings/org.eclipse.jdt.apt.core.prefs

Lines changed: 0 additions & 5 deletions
This file was deleted.

Spring Core Programs/Spring ORM - UsingXML-01/.settings/org.eclipse.jdt.core.prefs

Lines changed: 0 additions & 12 deletions
This file was deleted.

Spring Core Programs/Spring ORM - UsingXML-01/.settings/org.eclipse.m2e.core.prefs

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)