I am working on division in C, I have 2 ints which are n and p. I want to divide n by p (n/p) and always want it to round up. Even if n doesn't go into p, and results in a decimal where the 10th place is less than 5, I want to force round up, how can I do this?
For example, 7/3 should return 3.