Re: [algogeeks] Find the next number for a given number without using any arithmetic operators(use bit operations)

2010-06-24 Thread Amit Jaspal
#include #include int main() { int i=0,j; int n; scanf("%d",&n); for(i=0;i<31;i++){ if(!((1< wrote: > Find the next number for a given number without using any arithmetic > operators(use bit operations) > > -- > You received this message because you are subscribed to the Google Groups

[algogeeks] Find the next number for a given number without using any arithmetic operators(use bit operations)

2010-06-23 Thread vijay
Find the next number for a given number without using any arithmetic operators(use bit operations) -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this grou