2. Summation of two variable

 #include <stdio.h> int main() { int a , b, sum; Printf("enter the value of a :"); scanf("%d%", &a; Printf("enter the value of b :"); scanf("%d%", &b; sum = a + b; printf("Sum is %d", sum); return 0; }

No comments:

Post a Comment