kk before i have posted this code almost the same.. but anywayz im trying to get it to add with itz not doing what i want it to ... anyone care to tell me what is goin wrong..? thanx
btw the code is not done yet... it will be a calculator..
printf("Type the operator +,-,/,* and your prob in this format 5+5\n",x,y);
scanf("%d",&x, &y, &var);
case '+': printf("Answer = %d\n",x+y);