Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16)
I am reading "Programming in Objective C 2.0,"
(recommended by one of the post here, thanks). I just finish reading the loop statements. So far the author is using mainly math equations to solve his problems, like:
- reading some intergers backward (input: "1234"; output: "4321"): The author then divides the number by 10 and simply takes the remainder.
- check if an interger is odd or even: n == n / 2 * 2
The more i read the book, the more the author impresses me. I have never thought math can be so useful (besides counting changes and coins), so I didn't pay too much attention to it (just passed the class and never pick up the books again). Now I actually find math can help problem solving, I went to ask my dean to add a calculus class back on my senior year. Yap, I am still in high school ><
I am not far behind to all of you. I hope I can contribute my knowledge to help others soon. Joy, everyone.