写的这样,报题目中的错误。
The operator - is undefined for the argument type(s) String, int
这说明有未定义的整形或者字符型变量,如果一个表达式不是已定义的变量,要用()引起来
改为:
写的这样,报题目中的错误。
The operator - is undefined for the argument type(s) String, int
这说明有未定义的整形或者字符型变量,如果一个表达式不是已定义的变量,要用()引起来
改为: