Skip to content

Commit 1b4f1c5

Browse files
committed
Swift and Kotlin
1 parent 5e63e3e commit 1b4f1c5

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Kotlin/hellow_world.kt

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
fun main(args: Array<String>) {
2+
print("Enter Your Name: ")
3+
4+
val stringInput = readLine()!!
5+
println("You entered: $stringInput")
6+
}

Swift/hello_world.swift

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
print("Please Enter Your Name : ")
2+
let name = readLine()
3+
print("Hello \(name!)!")

0 commit comments

Comments
 (0)