I've edited your post and added code tags making it much easier to read. Please do so in the future.
We are NotACodeMill, what have you tried? What failed? And why?
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
posted 6 years ago
Thank you guys!!
Paul Clapham, where should I put your code? and why?
Wouter Oet, I'll follow the rule in the future. Well, I'm trying to use and show 1s and 0s instead of true and false. I've replaced true to 1 and false to 0.
compiler says "incompatible types. found: int, required: boolean"