VILL- DEBANDI, AMTA, HOWRAH PIN-711410 Phone-9836357266
1. Write a prolog program to calculate the sum of two numbers.
sum(X,Y):-S is X+Y,write(S).
OUTPUT:
No comments:
Post a Comment