I'm basically wanting to write a prog, that calculates the number of combinations of a number of numbers. Ie - between 1 and 9, how many 4 digit number combinations are there and so on.
I cant however seem to think of a logical way of doing this...
Could anyone offer some guidance on how to accomplish this... not write it for me, but point me in the right direction
Do you know how to do that without C++? -using just a calculator?-
If you can, write the steps you follow to get the result and then convert that into C++