C program to add two integers :

C program to add two integers :

Addition of two integer numbers 

#include<stdio.h>

int main()

{

int num1,num2,sum;

printf("Enter the two numbers  : ");

scanf("%d %d",&num1, &num2);

sum=num1 + num2;

printf(" %d + %d = %d ", num1, num2,sum);

}

Post a Comment

Please Select Embedded Mode To Show The Comment System.*

Previous Post Next Post