Sum of two numbers in C

#include <stdio.h>

int main()

{

    int first,second,sum;

    printf("Enter first number:");

    scanf("%d",&first);

    printf("Enter second number:");

    scanf("%d",&second);

    sum=first+second;

    printf("Sum = %d",sum);

    return 0;

}




Comments