fun main(args:Array<String>) { val firstno=5 val secondno=6 println(firstno>secondno) //return a boolear true or false println(firstno<secondno) println(firstno==secondno) println(firstno!=secondno) println(firstno<=secondno) println(firstno>=secondno) }
- OUTPUT >>
- false
- true
- false
- true
- true
- false
0 comments:
Post a Comment