Hi friends,

Can any one tell me the java program that how to convert Octa Decimal to HexaDecimal without using inbuild functions.
I tried a lot but not successful.
Please Please Please post the program...

Thanks in advance..

There are lots of people here who will freely give their time to help you become the best Java programmer you can be. There's nobody here who is interested in helping you cheat or doing your homework for you.

DaniWeb Member Rules (which you agreed to when you signed up) include:
"Do provide evidence of having done some work yourself if posting questions from school or work assignments"
http://www.daniweb.com/community/rules

This is something you can easily do yourself! Just take your numeral one digit at a time from left to right and keep an accumulator that starts at 0. For each digit, multiply the accumulator by the base and then add the value of the digit. You can reverse the process to print out the number in whatever base you like by using % and division, but of course that will get the digits from right to left so you'd have to construct the string before writing it.

Be a part of the DaniWeb community

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