Skip to content

Instantly share code, notes, and snippets.

@rail-rate
Created July 6, 2019 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rail-rate/9e009240859be602596ebc61a6e1eb97 to your computer and use it in GitHub Desktop.
Save rail-rate/9e009240859be602596ebc61a6e1eb97 to your computer and use it in GitHub Desktop.
if3
fun main(args: Array<String>) {
val a = 1
val b = 5
if(a<b){
println("aよりbが大きいです")
}else if(a>b){
println("aよりbが小さいです")
}else{
println("aとbは同じです")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment