C on data structure

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mcpacs™
    New Member
    • Dec 2006
    • 8

    #1

    C on data structure

    hey guys our instructor gave us a project and its all about in programming..

    we are told to create a program that the user will input a base 10 representation and the program will convert it to base 2 representation. .

    ENTER BASE 10 rep: 26
    BASE 2 IS : 01010

    what function on C programming will i use to create this program?

    PLEASE help me about this program!!!

    thanks in advance!!!


    GOD bless!
    Last edited by mcpacs™; Jul 5 '07, 06:26 AM. Reason: wrong number typed
  • Meetee
    Recognized Expert Contributor
    • Dec 2006
    • 928

    #2
    [QUOTE=mcpacs™]hey guys our instructor gave us a project and its all about in programming..

    what function on C programming will i use to create this program?




    Hi,

    First of all, this forum doesn't do assigments for students.. but yes, it can help student if he/she is stuck up some where!!

    <removed>

    Regards
    Last edited by r035198x; Jul 5 '07, 10:31 AM. Reason: spoon feeding won't help.

    Comment

    • Meetee
      Recognized Expert Contributor
      • Dec 2006
      • 928

      #3
      Originally posted by mcpacs™
      hey guys our instructor gave us a project and its all about in programming..

      we are told to create a program that the user will input a base 10 representation and the program will convert it to base 2 representation. .

      ENTER BASE 10 rep: 26
      BASE 2 IS : 01010

      what function on C programming will i use to create this program?

      PLEASE help me about this program!!!

      thanks in advance!!!

      GOD bless!

      And one more thing output of 26 would be 11010 and not 01010 :))

      Regards

      Comment

      Working...