BASIC ARITHMETIC
CALCULATIONS ‘C’ PROGRAM:
# include <stdio.h>
# include <conio.h>
main()
{ int a,b,c,d,e,f;
clrscr();
printf("enter a&b:");
scanf("%d%d",&a,&b);
c=a+b;
d=a-b;
e=a*b;
f=a/b;
printf("value of
c,d,e,f,%d\t%d\t%d\t%d",c,d,e,f);
getch();
return 0;
}
BY CREANOVA ENGINEERS www.creanovaengineersin
0 comments:
Post a Comment