Redo Exercise 8 to handle floating-point numbers. (Format your output to two decimal places.)
Exercise 8
Write a program that mimics a calculator. The program should take as input two integers and an arithmetic operation (+, -, *, or /) to be performed. It should then output the numbers, the operator, and the result. (For division, if the denominator is zero, output an appropriate message.) Some sample outputs follow: