Skip to content

Commit f44689f

Browse files
committed
solved question 2.18 closes DSC-UB#6
1 parent 09b739c commit f44689f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Difficult01/Question 2.18/TOD.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//print the word: "TOD" using asterisks
2+
public class TOD {
3+
4+
public static void main(String[] args) {
5+
String tod = "*** *** **\n * * * * *\n * *** **\n";
6+
System.out.println(tod);
7+
}
8+
}

0 commit comments

Comments
 (0)