Post your code and it will be much easier to help you.
Type: Posts; User: alegro
Post your code and it will be much easier to help you.
The error is in your assignment
&& is used for a conjunction of test conditions, and is invalid in the way you used it. You will need two seperate statements for your assignments.
All of your return statements are within test cases. Therefore incase the function never executes any of the test cases the function still needs to return something.