Miles to kilometers conversion

1.     Create a form that allows the user to enter in miles to be converted to the equal amount of kilometers.

2.     The form will consist of 1 textbox, 2 groupboxes, 1 label and 2 buttons.

3.     The text should be appropriate.

4.     Clear out the text property for the textbox.

5.     Name all controls with the three letter prefix and an appropriate descriptor.

6.     Enter the following code under the button:

‘display amount of kilometers as a value of what the user entered * rate

textbox kilometer.property = val(textbox miles.property)*1.61

textbox miles.setfocus

7.     Allow the other button to the textbox.

8.     Design it with titles, images, icons, etc. to make it user friendly.

9.     Save as miles

Back