Does anyone have any idea how I would code this I'm having some trouble coding it, I would appreciate it very much if you could provide a code in C++. Been trying ot figure out this for couple days but keep getting syntax errors for some reason.

1.) let the user input first a base number between 2 and 10.
2.) let the user input the [second base a ] number between 2 and 10.
3.) ask the user to input a number X base a.
4.) Convert the number X into a number base b.

hope someone can help thx.

> Been trying ot figure out this for couple days but keep getting syntax errors for some reason.
Well post what you tried, then perhaps we can lead you to the answer.

k ill see what I can do, but still if anyone knows anything post something k thx I appreciate it : )

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.