Purchase Solution

Visual Basic .NET

Not what you're looking for?

Ask Custom Question

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.

So you volunteer to write Tomislav an application to convert liters into pints and gallons.

Details

Create an appropriate 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 an appropriate title for your application window.

Create necessary labels for all fields.

Display the pint and gallon conversions in TextBox controls that cannot be edited.

Include comments in your application

Write code to complete the conversion.

Use the Internet or other resources to find out the conversion rates between liters and pints, as well as liters and gallons.

Submit only ONE file. The file should be a zip of ALL the files in the project folders.

Tips

General

Note the conversion is from wet liters to wet pints and from wet liters to wet gallons.
Textbox1: liters, for input
Textbox2: pints, read only for output
Textbox3: gallons, read only for output
Labels for the above textboxes
Compute button: btnCompute
Reset button: btnReset
Code the following methods: btnCompute_Click() and btnReset_Click()
Remember to use SaveAll button to save all files for your project
Remember to build your exe file for your application

Purchase this Solution

Solution Summary

Visual Basic .NET is overviewed.

Purchase this Solution


Free BrainMass Quizzes
C# variables and classes

This quiz contains questions about C# classes and variables.

Basic Networking Questions

This quiz consists of some basic networking questions.

Javscript Basics

Quiz on basics of javascript programming language.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.