Graham Cooper
unread,May 19, 2013, 7:54:39 PM5/19/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
casea( A ) :-
less( A , 1 ) ,
write( concat( final , A )) .
casea( A ) :-
less( 1 , A ) ,
write( concat( looping , A )) ,
minus( A , 1 , B ) ,
case( B ) .
------------------
The Output (in PROLOG) for
case(5)
looping5
looping4
looping3
looping2
final1