This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have 7 more such comparision in the getNum method..... any further ideas how this can be implemented.
Joined: Feb 07, 2005
You could do something like this
[ March 13, 2006: Message edited by: Keith Lynn ]
Ayub ali khan
Joined: Oct 20, 2005
I appreciate your programming skills!! I have not implemented it, however I am sure this gonna solve my problem...
Thank you soo much. This is a clear and logical approach..
I have a doubt here... suppose the condition which I am testing meets the first condition and then value of x is set to 5.. then the next set of condition statements will be false so the value of x will change because of these statements false statements right?