Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 03-17-2005, 06:58 AM   #1 (permalink)
 
Newb Techie

Join Date: Mar 2005

Posts: 1

qazzim

Default help in algorithm

does any1 know how 2 write an iterative of dis algorithm, need da iterative urgently

Function Mystery(x(), N)

If N=1 Then
Mystery=1
Else
Temp=Mystery(X(), N-1)
If X(N) >= X(Temp) Then
Mystery=N
Else
Mystery=Temp
EndIf
EndIf

End Function Mystery
qazzim is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On