forked from Codecademy/learn-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathArt.kt
30 lines (27 loc) · 707 Bytes
/
Art.kt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Project: ASCII Art
// Author: Alex DiStasi
/* Use a multiline comment to draft the image
.....
. .
. 0 0 .
...........
.. __ ..
. .|C_|. .
. ...... .
. .
. .
*/
fun main() {
// Use print statements to output image
println(" .....")
println(" . .")
println(" . 0 0 .")
println(" ...........")
println(" .. __ ..")
println(" . .|C_|. .")
println(" . ...... .")
println(" . .")
println(" . .")
// Use a single print statement to output image
println(" .....\n . .\n . 0 0 .\n ...........\n .. __ ..\n . .|C_|. .\n . ...... .\n . .\n . . ")
}