Write an application that allows the user to enter two variables: number (real) and code (character). Calculate the value indicated by the table below:

If code isResult
A symbolthe whole part of the number
everything elsecube of number

Hint: Use the character and mathematical functions.

Display the result from the performed task.

Is this part of your assignment? ORDER NOW