Search Results

Search: Posts Made By: H squared
2,432
Posted By H squared
Print count of unique values
Hello experts,

I am converting a number into its binary output as :


read n
echo "obase=2;$n" | bc


I wish to count the maximum continuous occurrences of the digit 1.


...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 02:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy