Hi,
I've got some questions ,wanted to clarify about conditions.
Q.1 What is the difference bw "Switch" and "If statement"?
Q.2 In "switch" statement can we use "arithmetic expressions"?
My other question is that when do we use "nested if" condition?
eg :
-----------------------------------------------
I wanted to know that in which cases can we use the above condition?Code:if (condition) { statements; if(condition) { statements; } statements; }
I hope I am clear
Thanks