Translations:Como executar o Prolog/25/en
Ir para navegação
Ir para pesquisar
3. The goal here, 'factorial(10,What)', essentially says "the factorial of 10 is What?". The word 'What' begins with an upper-case letter, denoting a logical variable. Prolog satisfies the goal by finding the value of the variable 'What'.