ryt..since none of the cases match so default case is executed,..but since u havnt placed break aftr dat..case '1' too gets executed..evn if u didnt intend to do so..dats y da output "defaultone"
On Wed, Mar 23, 2011 at 8:31 PM, cegprakash <[email protected]> wrote: > i is not equal to '1' > i=1 which is equialent to 49 > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
