'Add Two Integers' in C

#include <stdio.h>
int main() {
    int a, b;
    int sum = 0;
    printf("Enter the first number: \n");
    scanf("%d", &a);
    printf("Enter the second number: \n");
    scanf("%d", &b);
    sum = a + b;
    printf("The addition of two numbers are: %d\n", sum);
    return 0;
}

Other videos in this series

Back To Home