Hey, I recently started taking a c++ course and I am having problem rounding up what I am trying to do is round up to ten decade (ten's (sorry for the English).
Example if I have 50/6 and I want it to round up to 10 how do I do that?
What I want is that I can type anything in division and get it to ten decades.
I forget what happens with negatives, but it may not be what you want... you may need floor for negatives depending on what you want to happen with -91/10