Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2011
    Posts
    16
    Rep Power
    0

    Default convert integer to binary

    program to convert integer to binary value without using typecasting .

    The program should calculate manually the binary value of a given integer.

  2. #2
    sunde887's Avatar
    sunde887 is offline Moderator
    Join Date
    Jan 2011
    Location
    Richmond, Virginia
    Posts
    3,069
    Blog Entries
    3
    Rep Power
    8

    Default

    Cool, what have you done? Don't just dump the assignment, a lot of the work is your responsibility. Try something, ask specific questions. If you post code, use code tags
    [code]
    YOUR CODE HERE
    [/code]

  3. #3
    jlmp is offline Member
    Join Date
    Sep 2010
    Posts
    21
    Rep Power
    0

    Default

    Its just an algorithmic problem. You have to know how to convert an integer into a binary number manually!!!
    I googled it and found this example for you

    Answers.com - How to convert an integer into binary form

    Hope i helped you

Similar Threads

  1. convert integer to double
    By himanwish in forum New To Java
    Replies: 4
    Last Post: 03-17-2011, 01:55 AM
  2. Replies: 12
    Last Post: 10-31-2010, 06:14 PM
  3. convert unsigned integer to signed integer in java?
    By diskhub in forum New To Java
    Replies: 6
    Last Post: 05-17-2010, 12:50 AM
  4. How to convert Integer[] to int[]
    By Nithya in forum New To Java
    Replies: 26
    Last Post: 02-11-2010, 05:41 PM
  5. how to convert a string to an integer
    By LAW in forum New To Java
    Replies: 6
    Last Post: 11-09-2009, 03:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •