C program for addition of 2 numbers.

#include<stdio.h>
#include<conio.h>
void main()
{
 clrscr();
 int a, b, sum;
 printf("Enter two number :");
 scanf("%d%d",&a, &b);
 sum=a+b;
 printf("Sum of the two number is %d",sum);
 getch();
}
C program for addition of 2 numbers. C program for addition of 2 numbers. Reviewed by on December 22, 2019 Rating: 5

No comments:

Powered by Blogger.