#include<stdio.h>
#include<conio.h>
void main() { int A,B; char C='%'; clrscr(); printf("enter the values of A,B\n"); scanf("%d%d",&A,&B); clrscr(); printf("OPERATOR MEANING\tEXAMPLE\n"); printf("+ ADDITI\t%d+%d=%d\n",A,B,A+B); printf("- SUBTRA\t%d-%d=%d\n",A,B,A-B); printf("* MULTIP\t%d*%d=%d\n",A,B,A*B); printf("/ DIVISI\t%d/%d=%d\n",A,B,A/B); printf("%c MODULU\t%d%c%d=%d\n",C,A,C,B,A%B); getch(); }
No comments:
Post a Comment