Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
González Martínez Luis Alberto - BC_Arbol
%commands to the interpreter are submitted from stdin input ('show input' box below) %'halt.' will be automatically appended to stdin input. %swi-prolog 7.6.4 arbol :- write('ARBOL('),read(X),write(X),write(')'),rama. rama :- write('RAMA('),read(X),write(X),write(')'),hoja,ramas. hoja :- write('HOJA('),read(X),write(X),write(')'),hojas. ramas :- read(X),(X='otra'->rama; X='fin'->write('')). hojas :- read(X),(X='mas'->hoja; X='fin'->write('')). :- arbol.
run
|
edit
|
history
|
help
0
Alcala Ornelas Carlos Alberto
Json Basico
Ejercicio Condiciones IF anidados Clase 4 - Guzmán Martínez Ricardo Alejandro
BD_1
Red Bayesiana Bidimensional
VASQUEZ HERNANDEZ KARLA SHAMADY
siblings(X, Y)
Base de Conocimiento Arreglos de Arreglos y objetos PROLOG
Martinez Lopez Said - CICLO FOR
ObjVacio_ArrayV_multiple.