Write a C Program to find addition and subtraction of two numbers

Here is the C Program to find addition and subtraction of two numbers
#include<stdio.h>
#include<conio.h>
void main()
{              int a,b;
                clrscr();
                printf(“Enter two numbers:”);
                scanf(“%d%d”,&a,&b);
                printf(“Adition=%d \n Subtaction=%d”,a+b,a-b);
                getch();
}
Output

You may also like...

Leave a Reply