1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

pls help me in coding the following.

Discussion in 'C' started by kamal.sn2, Mar 22, 2011.

  1. kamal.sn2

    kamal.sn2 New Member

    Joined:
    Mar 22, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    1. a function input(int[] array) is given and we have to enter any number and the entered no. should convert into absolute no like 4578, 6789 , 1234 etc means the no should convert into incresing nos.
     
  2. virxen

    virxen New Member

    Joined:
    Nov 24, 2009
    Messages:
    387
    Likes Received:
    90
    Trophy Points:
    0
    can you explain better what you want?

    have you coded something so far?
     
  3. teacher

    teacher New Member

    Joined:
    Mar 27, 2011
    Messages:
    66
    Likes Received:
    8
    Trophy Points:
    0
    Occupation:
    i hate jobs
    Location:
    india,agra
    Home Page:
    i think iam getting what you want..you want your array to be get converted in into single integer.
    for eg if
    int a[]={1,8,5,6};
    then
    int x = 1568

    is this you want? if not then post the full question here...

    thank you
     

Share This Page