RosettaCodeData/Task/Function-definition/Prolog/function-definition-5.pro

4 lines
57 B
Prolog

go :-
A is 5*2,
format('The product is ~d.~n', [A]).