Calculate the addition of two numbers in C-Language
Learn Coding Easily
Calculate the addition of two positive integer numbers. ( C-Language)
#include<studio.h>
#include<conio.h>
void main()
{
clrscr()
int a,b,sum;
printf("enter the positive integer number a= ");
scanf("%d",&a);
printf("enter the positive integer number b= ");
scanf("%d",&b);
sum=a+b;
printf("total= %d",sum);
getch();
}
Example;
Compiler Name - Turbo C
Input
Output
1-
2-
3-
4-
5-
Thanks For Watching My Project
click here
🔻
https://shareus.in/?i=NEt61lA-H
Comments
Post a Comment