Exactly!!
On 12/14/10, RAHUL KUJUR wrote:
> correct me if I am wrong.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algoge...@googlegroups.com.
> To unsubscribe from this group, send email to
>
correct me if I am wrong.
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to
algogeeks+unsubscr...@googlegroups.com.
For more options
for 2nd problem:
statement inside the do-while is executed once. Now for the condition
checking inside the while loop. The condition i++<5 is evaluated which turns
out to be true. So the rest of the part ++ch<='F' is not evaluated and hence
letter A is printed six times. Now when the condition "i++