Reference no: EM1333063
You've just started a new semester and you've become friends with one of your classmates, Tomislav. Tomislav tells you he has just moved to the United States from Europe and he's having a difficult time adjusting to the English units of measurement. In his country, most liquids are measured in liters, not gallons.
Tomislav tells you that he's been having an especially hard time buying gasoline, since he doesn't have much of an idea how much a gallon is. He also mentions he's having a tough time understanding how much is in a pint.
You volunteer to write Tomislav an application to convert liters into pints and gallons.
Details
Create a user interface.
Include a Reset button, which will clear the interface controls.
Be sure to center the form on the screen.
Create a button that the user will click to complete the conversion.
Provide a title for your application window.
Create necessary labels for all fields.
Write code to complete the conversion.