reversing a number
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: reversing a number

  1. #1
    Join Date
    Jun 2009
    Posts
    1

    Smile reversing a number

    hello friends please help me.....
    provide a code in java if input is 98647125 output sholud be 46895217
    take 98647125 as an integer dont take as array...output is half integer i.e 9864 is reversed 4684 then other half integer 7125 is reversed 5217....
    plz provide d code...

  2. #2
    Join Date
    Apr 2007
    Posts
    425

    Re: reversing a number

    hello friend
    plz provide d effort...

  3. #3
    dlorde is offline Elite Member Power Poster
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,163

    Re: reversing a number

    So what ideas have you tried so far?

    A man's reach should exceed his grasp, or what's heaven for?
    R. Browning
    Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.

Tags for this Thread

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center