Hi Everybody
Thanks for the responses.
Its a product code in which i am working on maintenance to enhance the existing functionality.
Due to the number of variables,i felt like posting it here.
Its only if statement.there is no else if.
variable a and b are always related.(like wise c and d and so on)(one gives the value of service and the other gives the status ..)
i am getting these values from another application. the code actually attaches offer to the subscriber as per a,b,c,d...(if prev a=y and current a=y then dont add if preva=n and currenta=y then add)
a,c,e and g are always different value.