Write an application that allows the user to enter two


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 is

Result

A symbol

the whole part of the number

everything else

cube of number

Hint: Use the character and mathematical functions.

Display the result from the performed task.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Write an application that allows the user to enter two
Reference No:- TGS01594451

Now Priced at $30 (50% Discount)

Recommended (99%)

Rated (4.3/5)