May be we can use *goto *statement? On Mon, Feb 28, 2011 at 10:36 PM, gaurav gupta <[email protected]>wrote:
> Questions is : You have to print 1 to n without using any loop( for, while, > do-while, goto ) and recursion. > > Any suggestion? > > > On Tue, Mar 1, 2011 at 10:52 AM, preetika tyagi > <[email protected]>wrote: > >> Can you elaborate on it and provide more details? >> >> >> On Mon, Feb 28, 2011 at 10:14 PM, Subhransupanigrahi < >> [email protected]> wrote: >> >>> Is there any way to print 1 to 10 (taking an example, it can also extend >>> to 100) without using loop, recursion. >>> >>> >>> Sent from my iPhone >>> >>> -- >>> 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. >> > > > > -- > Thanks & Regards, > Gaurav Gupta > 7676-999-350 > > "Quality is never an accident. It is always result of intelligent effort" - > John Ruskin > > -- 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.
