Posted by: parbatya May 10, 2007
Virginity Algorithm
Login in to Rate this Post:     0       ?        
Here I took just two parameters. 00 START 10 Input no of gals N 15 For I = 1 to N 20 Input Age of gal A 30 Input region R of gals( U-USA, E- Europe, N- Nepal) 40 IF R=U go to 45 else 55 45 IF A<=10 go to 100 48 else go to 95 55 IF R=E go to 60 else 75 60 IF A<=15 go to 100 65 else go to 95 75 IF R=N go to 80 else 90 80 IF A<=20 go to 100 85 else go to 95 90 Next I 95 print "NON VIRGIN" 100 print "VIRGIN" 105 end "TRY IT AND SEND THE FINAL RESULT TO SAJHA.
Read Full Discussion Thread for this article