# 13552 - Easy math problems >author: Utin ###### tags: `math` --- ## Brief See the code below ## Solution 0 ```c= #include <stdio.h> int main() { float x, y; char c; scanf("%f %c %f", &x, &c, &y); if (c == '/') printf("%.3f\n", x / y); else if (c == '*') printf("%.3f\n", x * y); else if (c == '+') printf("%.3f\n", x + y); else if (c == '-') printf("%.3f\n", x - y); } // By Utin ``` ## Reference