(This is actually in C, it just won't let me select C as the category...)
I'm writing a 2D array where each integer in the array gets "smoothened" (as in pixel smoothening, except with ints) and then displayed. In a 5x5 array, for example, I can get all the rows to smoothen correctly except for the last (bottom) row, which displays very large or small numbers outside the array range. What's going on?
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.