c program for mulitiplication,division,addition and subtracting.


Programm for addition,multiplication,subtraction and division :-


#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c,d,e,f;
clrscr();
printf("enter first numbers= ");
scanf("%d",&a);
printf("enter second number= ");
scanf("%d",&b);
c=a+b;
printf("the sum of all no. is= %d",c);
d=a-b;
printf("\nthe subtraction of these no. is= %d",d);
e=a*b;
printf("\nthe multiplecation of these no.is= %d",e);
f=a/b;
printf("\nthe division of these no. is= %d",f);
getch();
}

Comments