hi dave and all how follwing code could be done by for loop

From: sachin786 (sachinsb_at_cse.iitb.ac.in)
Date: 09/28/04

  • Next message: sachin786: "morphology help"
    Date: Tue, 28 Sep 2004 07:21:03 -0400
    
    

    i got it ..dave and thanks but problems like below how to solve using for
    loop..and how many types of loop are there in prolog

    isqrt(0,0).
    isqrt(N,F) :- N>0,
                  N1 is N-1,
                  isqrt(N1,F1),
                  F is ((N * N * N) + F1) .

    bye take care..hoping for help


  • Next message: sachin786: "morphology help"