#include <stdio.h>
#pragma warning(disable : 4996)
int main() {
float a, b;
char op;
printf("Scrieti a, b si operatorul :\n");
scanf("%f%f %c", &a, &b, &op);
if (op == '+')printf("\n%g + %g = %g", a, b, a + b);
else if (op == '-')printf("\n%g - %g = %g", a, b, a - b);
else if (op == '*')printf("\n%g * %g = %g", a, b, a * b);
else if (op == '/')printf("\n%g / %g = %g", a, b, a / b);
else printf("0");
}