-
May 17th, 2011, 11:25 AM
#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.
-
May 18th, 2011, 07:41 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|