Ceriwis

Ceriwis (https://forum.ceriwis.com/forum.php)
-   Programming (https://forum.ceriwis.com/forumdisplay.php?f=63)
-   -   tugas prolog (https://forum.ceriwis.com/showthread.php?t=538539)

Braincode 11th November 2011 01:26 PM

tugas prolog
 

bagaimana membagi dua list dan mencetak setengah list terdepan..



contoh



depan([a,b,c,d,e,f],x).

x=[a,b,c]



soal kedua

ambil setengah list paling belakang



belakang([a,b,c,d,e,f],X).

X=[3,4]



soal ketiga

</div>


All times are GMT +7. The time now is 01:59 PM.