sum of two numbers

#include<stdio.h>
int main() {
    int a,b,c;
    scanf("%d%d",&a,&b);
    c=a+b;
    printf("sum is %d: ",c);
    return 0;
}
Input:
2 3
Output:
sum is 5:

No comments:

Post a Comment