Getting data from user.

Getting data from user.

In a function, how do I prompt the user for and collect data such as an exchange rate?