I see. I must have read or misunderstood my textbook for some reason I thought i++ meant it displays the numbers in ascending order and i-- in descending order. What sorts of things can the last bit...
Type: Posts; User: WhyExist
I see. I must have read or misunderstood my textbook for some reason I thought i++ meant it displays the numbers in ascending order and i-- in descending order. What sorts of things can the last bit...
I think i is the equivalent of the grains of rice because for the next grain of rice on a square we are doing *2?
An error on my part it is was supposed to represent the amount of squares on a chessboard but I don't know why that was relevant.
Hi, thanks for the reply.
I wrote the problem down on paper I can't see a correlation between the number of squares and the grains of rice. But I've noticed that the rice is multiplied by 2 each...
The rice and chessboard case = "Oh emperor, my wishes are simple. I only wish for this. Give me one grain of rice for the first square of the chessboard, two grains for the next square, four for the...