Visual Basic program

tlara1592

 

Visual basic program in visual studio: i included the program, how it should look and run, i need the source code.

 

The user should be able to accomplish the following:

 

·         Enter the cost per kilowatt-hour.

 

·         Select from a list of home appliances which includes a <<laundry washer>> or <<cloth washer>>, among other appliances.

 

o    <<Refrigerator>>

 

o    <<TV>>

 

o    <<Space Heater>>

 

o    <<Fan>>

 

o    <<Dryer>>

 

o    <<Oven>>

 

·         Enter the power needed in kilowatts (kW) for the selected appliance.

 

·         Enter the number of hours used per day for the selected appliance.

 

·         If the washer is selected, enter both the number of gallons of water used by the washer per hour and the cost per gallon.

 

The program should do the following:

 

·         Validate that the data entered has the correct format, and is within a reasonable range.

 

·         Calculate and display the cost for operating a home appliance as soon as the data is entered.

 

·         Create a listing area to display each of the following for each appliance entered:

 

o    Home appliance

 

o    Number of hours per day

 

o    Cost

 

o    Display and update the total cost of all appliances, as soon as a new entry is added to the listing area.

 

Write the code for the program and test the results.

 

 

 

 

The program must include:

 

 

Form1.vb’ is renamed to FirstName_LastName_P3.vb (for example, 'John_Smith__P3.vb’).

 

 

 

 

 

Functionality:

 

 

Form UI looks processional and does not have crazy coloring.

 

 

P2 Input Validation: Validate all data entered: Correct format (integers, and no negatives).

 

 

P2 Input Validation: Validate hours entered is within a reasonable range (ie, hours).

 

 

P2 Autocalc: Form will auto-calculate a cost for operating a home appliance as soon as the data is entered. User does not have to click a button or anything. If you use a btn, you will get 0 pts.

 

 

Reset button clears entire form as if newly launched

 

 

P3 Water Apps: If the user selects water appliance (ie, washer): User can enter both the number of gallons of water used by the washer per hour and the cost per gallon.

 

 

 

  • 9 years ago
  • 40
Answer(1)

Purchase the answer to view it

  • home_appliances.zip
Bids(1)