Skip to content

Commit 6bd37c8

Browse files
committed
attempted issue DSC-UB#11
1 parent 51b8a78 commit 6bd37c8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/Multiples.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
class Multiples{
2+
3+
4+
public static void main(String[] args) {
5+
System.out.print("Number: ");
6+
for (int i = 0; i <= 10; i++) {
7+
System.out.print(i);
8+
}
9+
10+
System.out.print("Doubles: ");
11+
for (int i = 0; i <= 10; i++) {
12+
System.out.print(i * 2);
13+
}
14+
15+
System.out.print("Triples: ");
16+
for (int i = 0; i <= 10; i++) {
17+
System.out.print(i * 3);
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)