If I were you, I'd code it this way:
string AskAnotherPerson(int CurrentPersonToAsk){
if(CurrentPersonToAsk == 0)
return (getCodeJamHandle(TargetUserGmail));
AskAnotherPerson(CurrentPersonToAsk-1);
}
On Fri, May 14, 2010 at 11:15 PM, Mohamed Ghoneim <[email protected]>wrote:
> int NumOfPeople = 5 // some value greater than 0
>
> string AskAnotherPerson(int CurrentPersonToAsk){
>
> if(NumOfPeople == CurrentPersonToAsk)
> return (getCodeJamHandle(TargetUserGmail));
>
> AskAnotherPerson(CurrentPersonToAsk+1);
> }
>
> Regards
> Mohamed Sayed Ghoneim
>
>
>
>
> On Fri, May 14, 2010 at 11:03 PM, Paul Smith <[email protected]>wrote:
>
>> Or ask somebody else to ask him to post it here on the codejam list so
>> we all have it :)
>>
>> On Fri, May 14, 2010 at 8:59 PM, Luke Pebody <[email protected]>
>> wrote:
>> > You could also ask SOMEBODY ELSE to ask him.
>> >
>> > On Fri, May 14, 2010 at 8:05 PM, mtsay <[email protected]> wrote:
>> >> Send him an e-mail asking for his google codejam handle?
>> >>
>> >> On May 14, 12:15 pm, Abdelrhman Abotaleb <[email protected]>
>> >> wrote:
>> >>> If I know my friend email but doesn't know his google codejam handle
>> ?
>> >>> how to get it?
>> >>> [Rather than ask him :d ]
>> >>>
>> >>> --
>> >>> Regards,
>> >>> Abdelrhman.M. Abotaleb
>> >>>
>> >>> IEEE 2010 Student Chapter,
>> >>> AC Active member
>> >>> SPE 2009 Well Services Moderator
>> >>> cairo.spe.org
>> >>>
>> >>> Major: Electronics & Communications
>> >>> Minor: Computer Engineering
>> >>>
>> >>> --
>> >>> You received this message because you are subscribed to the Google
>> Groups "google-codejam" group.
>> >>> To post to this group, send email to [email protected].
>> >>> To unsubscribe from this group, send email to
>> [email protected]<google-code%[email protected]>
>> .
>> >>> For more options, visit this group athttp://
>> groups.google.com/group/google-code?hl=en.
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> Groups "google-codejam" group.
>> >> To post to this group, send email to [email protected].
>> >> To unsubscribe from this group, send email to
>> [email protected]<google-code%[email protected]>
>> .
>> >> For more options, visit this group at
>> http://groups.google.com/group/google-code?hl=en.
>> >>
>> >>
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups "google-codejam" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to
>> [email protected]<google-code%[email protected]>
>> .
>> > For more options, visit this group at
>> http://groups.google.com/group/google-code?hl=en.
>> >
>> >
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "google-codejam" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-code%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-code?hl=en.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "google-codejam" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-code%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-code?hl=en.
>
--
Asmaa Magdi
--
You received this message because you are subscribed to the Google Groups
"google-codejam" 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/google-code?hl=en.