-1

```
// This program gives the number of boxes required for a number of figurines
#include <iostream>
using namespace std;
int main()
{
unsigned boxcapacity;
cout << " Enter the total amount of figurines each box can store: ";
cin >> boxcapacity;
unsigned figurines;
cout << " Enter the total amount of figurines: ";
cin >> figurines;
int boxesrequired = (figurines / boxcapacity);
cout << "The amount of boxes required is " << boxesrequired << endl;
system ("pause");
}
```

Hi I can't find the solution for this problem I am having.

if 10 items can fit in a box and we have 1234 items, the answer must be 124. I keep getting 123.4 when i divide.

likewise if i could fit 100 items in a box and i have 1,000,000 then i should have 10000 boxes and not 10001.

how would I round all decimal points up to the whole number and not down, and how do I leave whole numbers the way they are?

I tried adding 1 to the box capacity but this makes 10000 become 10001.