fun a(b: Int, c: Int){ b = b - 1 c = c - 1 return b * c }
Standard input is empty
prog.kt:2:2: error: val cannot be reassigned
b = b - 1
^
prog.kt:3:2: error: val cannot be reassigned
c = c - 1
^
prog.kt:4:9: error: type mismatch: inferred type is Int but Unit was expected
return b * c
^
Standard output is empty