C Program to Add Two Integer Numbers Provided by User

In this program, the user is asked to enter two integer numbers. After that the sum of these two integers is calculated and displayed on the console.

Source Code
void main()
    int num1, num2, sum;    // Declaration
    printf("Enter any two numbers: ");
    scanf("%d %d", &num1, &num2);   // Read 2 numbers

    sum = num1 + num2;  // Formula for addition
    printf("Addition of %d and %d is %d", num1, num2, sum); // Print result
Enter any two numbers: 15 75
Addition of 15 and 75 is 90