I'm a little rusty on this part of Math(s)
But given X, let X = 13. And I want to find the next square number, which is 16.
So how would I do that?
Would this work?
int x = 13; int y, z, w; y = Math.Sqrt(x); z = Math.Ceiling(y); w = Math.Pow(z, 2);
Where "w" would now by 16?