Recorrido Listas en Prolog

1
2
recorrerLista([X|Y], Promedio) :- recorrerLista([X|Y], 0, 0, Promedio).
recorrerLista([X|[]],SumaParcial, CantidadParcial, Promedio) :- SumaFinal is SumaParcial + X,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
recorrido listas prolog

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.