Skip to Main Content

create random no id

612984Aug 6 2008 — edited Aug 7 2008
hiii,

I have to create a sequence id randomly generated depand on my conditions..
means take an example like first id is 43 then second one should be square of 4 + square of 3 that is 25.
then third id should be square of 2 + square of 5 means 29. and if 100 comes then start again.
so the output should be like this
43
25
29
85
100

Thanks
user609981
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Sep 4 2008
Added on Aug 6 2008
6 comments
231 views