You should develop C application, that solves math expressions. Operations such as (+,-,*,/) should be supported, as well as (cos, sin, exp). Application should replace constants Pi and E with built-in values. We may have any amount of spaces between operators and braces.
Example:
stdin: 11 + (exp(2.010635 + sin(PI/2)*3) + 50) / 2
stdout: 111.00000 (may have insignificant deviations)