• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Conversion problem

 
Sheetal Kaul
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've developed a program which takes the value(Decimal Number) from the User, & convert it to Binary, hexa decimal, & Octal...bt i'm not getting correct converted values.

So plz can anyone send me the program or atleast Algorithm for these conversion problem.


Thanxs
Sheetal
 
pascal betz
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so what does your code look like ? whats the error ?

pascal
 
Sheetal Kaul
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I think my algorithm is wrong... so if you have any then plz send me that, or please tell me how to do this. Decimal to binary conversion.


Thanxs
Sheetal
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Describe your algorithm. People will help if you demonstrate you are trying, but are less willing to help otherwise.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic