Use of nested If-Else..
Posted: Fri Mar 16, 2012 10:34 pm
Hi ,
I'm struck with the situation where I'm finding the difficult to get answer anywhere.In the program the condition is as follows
if (ABCD of file 1 = ABCD of file 2)
write statement1
else-if (ABCDE of file 1 < ABCDE of file 2)
write statement2
else
write statement3.
The problem is how do i use 'ELSE-IF'? Please do reply at earliest.
Thanks in advance!!!!
I'm struck with the situation where I'm finding the difficult to get answer anywhere.In the program the condition is as follows
if (ABCD of file 1 = ABCD of file 2)
write statement1
else-if (ABCDE of file 1 < ABCDE of file 2)
write statement2
else
write statement3.
The problem is how do i use 'ELSE-IF'? Please do reply at earliest.
Thanks in advance!!!!