Addition of two numbers:-
In this c program we will see that how to add two integer numbers with the help of num1, num2 and add three int type variables.
/*
Program : Addition Of Two Numbers
Filename : addition.c
IDE Used To Developed : CodeBlocks
Developed By : Pavito Golui
*/
#include<stdio.h>
int main()
{
int num1=11, num2=15,add;
add=num1+num2;
printf("Addition of %d and %d is %d",num1,num2,add);
return 0;
}
Program : Addition Of Two Numbers
Filename : addition.c
IDE Used To Developed : CodeBlocks
Developed By : Pavito Golui
*/
#include<stdio.h>
int main()
{
int num1=11, num2=15,add;
add=num1+num2;
printf("Addition of %d and %d is %d",num1,num2,add);
return 0;
}
Output :
Addition of 11 and 15 is 26
0 comments:
Welcome to you in All Coding Help