how can I get the remaining weight, without using the int modulus?
The problem is solving how many widgets are on the pallet, and inputs are the total weight and the pallet. In the program, ONEWIDGET is the weight of a widget.
since the input can put any random number, i want to inform the user if there is any unaccounted weight on the pallet and the amount. This value I thought to use % of the caluclations but the operation can't be done with doubles(variable and constant).
right now it's found by math: remaining= widgetWeight - (widgetNum*ONEWIDGET)
is thier a command for the ramander of un intergers?