normalize([], _, []).normalize([H | T], P, [R | R1]) :- R is H/P, normalize(T, P, R1).
normalize([], 12, R).
Standard output is empty
ERROR: '$runtoplevel'/0: Undefined procedure: program/0 Exception: (3) program ? EOF: exit
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!