Update check_voter method for Scala (#79)
* add IDE specific git ignore files * add log for new user
This commit is contained in:
committed by
Aditya Bhargava
parent
48f971e361
commit
fb0d9dccfd
@@ -5,6 +5,7 @@ def check_voter(name: String): Unit = {
|
||||
println("kick them out!")
|
||||
} else{
|
||||
voted += (name -> true)
|
||||
println("let them vote!")
|
||||
}
|
||||
}
|
||||
check_voter("tom")
|
||||
|
||||
Reference in New Issue
Block a user