KT
kt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
Author: LukArToDo
Created: 18.june 2018
Description: Code is an attempt to answer a Tanays question: https://www.sololearn.com/Discuss/1352668/?ref=app
*/
fun main(LukArToDo: Array<String>) {
//enter a strings separated by line
var str: String? = null;
while ({str=readLine(); str }()!= null){
println(str);
}
var f : Float = 22.3f
println({f=22f;f}())
}
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run