Carey Brown wrote:No (;) on line 6
Carey Brown wrote:
It would "work" but perhaps not in the way that Jonathan expects. The 5 + 0 would be operated on first as an integer addition, NOT String concatenation. Then all the other '+' operations are Concatenation because in all cases one of the arguments is a String. So...
Ron McLeod wrote:I can't see how that line is going to work if A and b and numbers and the other variables are strings.
It should be
All variables should be lower case.
Carey Brown wrote:lines 1-6 generate a value in X but X isn't used until line 10. What if you've done all those calculations and ended up at line 13. All that work would have been for naught. Ditto for Z.