how it is wrong?

int main()
float A,B;
char C;

else if(C==’-’)
else if(C==’*’)
printf("f",A*B); else if(C=='/') printf(".1f",A/B);

return (0);
checked many test samples…all correct…but codechef compiler gives wrong answer…why?? plz help

Please mention the problem code in which you are getting errors. Also make sure to intend your code properly so that others can understand it and answer your query. Try to link your solution page or your code on IDEONE instead of pasting your code here. A quick look at your code suggests that you have missed * in


Fix it and you should get AC.

Can u specify the question