number m in numberic system with a base of n

Hello!
I have a task for univerisity which I don't quite understand..
---> You are given a natural number m and a natural number n=2..16
Print m in a counting system with a base of n

Could someone explain?
Do you understand what a number base is?
16 in this case, right?
You're going to be given a number from 2 to 16 to be the base. So the base could be 2. It could be 3. It could be 4. It could ... up to 16.

But the question is, do you know what a number base is? If you don't know how number bases work, you need to learn that first. This is a very simple programming assignment, but if you don't know a number base is you're going to find it impossible.
Thanks!
I'll figure it out
Topic archived. No new replies allowed.