Nuacht
% Write a Prolog program to implement GCD of two numbers. 6. Write a Prolog program to implement power (Num Pow, Ans): where Num is raised to the power Pow to get Ans ...
Two integers A and B are the inputs. Write a program to find GCD and LCM of A and B. The first line contains an integer T, total number of testcases. Then follow T lines, each line contains an integer ...
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana