In this exercise, you create an application that converts American dollars to British pounds and Mexican pesos. Create a Visual Basic Windows application. Use the following names for the solution, project, and form fi le, respectively: Currency Calculator Solution, Currency Calculator Project, and Main Form.vb. Save the application in the VB2010\Chap03 folder. Create the interface shown in Figure 3-50. Make the Calculate button the default button. Code the application appropriately. Calculate the number of pounds by multiplying the number of dollars by .56773. Calculate the number of pesos by multiplying the number of dollars by 10.4682. Th e number of pounds and pesos should be displayed with three decimal places. Clear the number of pounds and pesos when a change is made to the number of dollars. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here