Re: [algogeeks] Error in code?plz help...

2011-08-06 Thread Ram Chauhan
Lvalue assigment error. On Sat, Aug 6, 2011 at 4:05 PM, Rajesh Kumar wrote: > How to remove error in this code? > > #include > main() > { > int i=10,j=15; > if(i%2=j%3) > printf("\ncharacter"); > } > > -- > Regards > Rajesh Kumar > > > -- > You received this message because you are subscribed to

Re: [algogeeks] Error in code?plz help...

2011-08-06 Thread Pisit Makpaisit
Use == for comparison not = On 6 Aug 2011 17:35, "Rajesh Kumar" wrote: > > How to remove error in this code? > > #include > main() > { > int i=10,j=15; > if(i%2=j%3) > printf("\ncharacter"); > } > > -- > Regards > Rajesh Kumar > > > -- > You received this message because you are subscribed to the

Re: [algogeeks] Error in code?plz help...

2011-08-06 Thread siddharam suresh
Thank you, Siddharam On Sat, Aug 6, 2011 at 4:05 PM, Rajesh Kumar wrote: > How to remove error in this code? > > #include > main() > { > int i=10,j=15; > if(i=j%3) > printf("\ncharacter"); > } > > -- > Regards > Rajesh Kumar > > > -- > You received this message because you are subscribed to the

[algogeeks] Error in code?plz help...

2011-08-06 Thread Rajesh Kumar
How to remove error in this code? #include main() { int i=10,j=15; if(i%2=j%3) printf("\ncharacter"); } -- Regards Rajesh Kumar -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com

[algogeeks] error in code

2011-01-05 Thread monty 1987
Hi , i m getting error can u find the error in code for following problem?? We will use the following (standard) definitions from graph theory. Let V be a nonempty and finite set, its elements being called vertices (or nodes). Let E be a subset of the Cartesian product V×V, its elements being c