<div>Hello</div> <div> </div> <div>I was working with both algorithm2e and algorithmic package but could not find how to resolve the problem of putting an if condition with in the if condition i.e. nested if then else</div> <div> </div> <div> </div> <div>\ForEach{M $\in$ $s.MSG$_N$[]$}<BR> {</div> <div>\STATE $quadrant \leftarrow FindNBRQuadrant(M.XLoc,M.YLoc)$\;<BR> \eIf{quadrant $\GT$ $0$}<BR> {<BR> \eIf{M.eventdetected $=$ $true$}<BR> {<BR> \STATE $distance \leftarrow FindDistanceToNBR($M.XLoc$,$M.YLoc$)$\;</div> <div> \STATE $counteventQNBR[quadrant] \leftarrow counteventQNBR[quadrant]+1$\;<BR> \If{distance $\GT $distancetodistantQNBR[quadrant]$}<BR> {<BR> \STATE $distancetodistantQNBR[quadrant] \leftarrow distance$\;<BR> \STATE
$slopeToDistantQNBR[quadrant] \leftarrow FindSlopeToDistantQNBR[distancetodistantQNBR[quadrant]]$\;</div> <div> }<BR> <BR> }<BR> {<BR> \STATE $countnoneventQNBR[quadrant] \leftarrow countnoneventQNBR[quadrant]+1$\;<BR> <BR> }<BR> <BR> }</div> <div>}</div> <div> </div> <div> </div> <div>regards</div> <div>farhana</div><p> 
<hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a>