Why am I getting this error? “bad operand types for binary operator '>'”

前端 未结 3 686
感动是毒
感动是毒 2021-01-16 14:32

I would like to know what it causing the error of \"bad operand types for binary operator \'>\'\" down below I have the codes for both my Hand and C

3条回答
  •  难免孤独
    2021-01-16 15:13

    getCardFace() is returning String value but you can't use < , > , <= or >= for comparing String.

提交回复
热议问题