Addition of Two Integer in C Programming

Addition of Two Integer in C Programming- This tutorial is about to make addition of two integers that very simple to do we will take three variables and first two value can take number from the user and the third one is show the result of the addition of that two values on screen.

How to add two integers in programming c

How to add two integer in c programming language


#include <stdio.h>
voie main()

{
int a, b, c;
printf ("type value for a\n");
scanf("%d", &a);
printf ("type value for b\n");
scanf("%d", &b);
c = a + b;
printf ("The Value Of %d + %d equals %d\n", a, b, c);

}

0 Comments