Ok I know the title makes it sound easy but that’s not the point.

The problem I’ve got is actually computer related but with a maths twist. I have a very basic programming language which has only the Add and Subtract functions, I've made a working multiply function but it only deals with whole numbers as does the whole program.

So anyway is there a method of dividing using only add and subtract and whole number multiplication. I don't know if this is making any sense it started playing with my head so sorry.

But if anyone can help that would be great.

Martin