Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
Re:
[CODE]#include<stdio.h> #include<conio.h> void main(){ char x; int result,a,b; printf("type the first number\n"); scanf("%d",&a); printf("enter the operand\n"); scanf("%d",&x); printf("type the second number\n"); scanf("%d",&b); switch(x){ case '+': result=a+b; printf("value is:%d",result); break; case '-': result=a-b; printf("value is:%d",result); break; case '*': result=a*b; printf("value is:%d",result); break; case '/': result=a/b; printf("value is:%d",result); break; case '%': result=a%b; … |