float numbers

Create a program that asks the user for two float numbers. Then asks the user if they would
like to:

1. multiply the numbers
2. divide the numbers

Create a function called calculator that takes two float numbers and the operation, then
return the answer.
The program should then print the numbers with the chosen operation and the solution.
Topic archived. No new replies allowed.