Of course you get. Look at the meaning of rows and cols variables. Also, remind me, why might you need i and ii variables in the loops?
Type: Posts; User: angstrem
Of course you get. Look at the meaning of rows and cols variables. Also, remind me, why might you need i and ii variables in the loops?
You'll never get doubles as a result of int/int division. So (a + b) / 2 will always be an integer.