Need help with pseudocode please
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Need help with pseudocode please

  1. #1
    Join Date
    May 2011
    Posts
    1

    Need help with pseudocode please

    I have to calculate the maximum block in a binary number.
    For ex:
    Binary representation = 11111
    Maximum block length = 5

    Binary representation = 10111011
    Maximum block length = 3

    Above are the only 2 examples my professor gave.
    "Compute the maximum block length of the binary
    representation." This is what he said. I'm assuming this includes 0s as well. I really don't know how to go about it.

  2. #2
    Join Date
    Feb 2008
    Posts
    966

    Re: Need help with pseudocode please

    Since you have posted this in 12 other forums, and have received an answer in C in one of them, I will help everybody out by letting them know not to bother. You have your actual code in C, now YOU should translate that into Java.

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center