Question
Asked by:
$5.00 Calculate the shipping charge in visual basic
- From Computer-Science: General-CS
- Closed, but you can still post tutorials
- Due on Jul. 08, 2009
- Asked on Jul. 04, 2009 at 12:09:21AM
Q:I am having trouble getting started on a project that I am supposed to build in Visual Basic. Here is what I am supposed to do. Any help?
Write a project that calculates the shipping charge for a package if the shipping rate is $0.12 per ounce.
Form: Use a masked text box for the package-identification code (a siz-digit code) and labeled text boxes for the weight of the package-one box for pounds and the another one for ounces. Use a text box to display the shipping charge.
Include buttons for Calculate, Clear, Print, and Exit.
Code: Include event procedures for each button. Use a constant for the shipping rate, calculate the shipping charge, and display it formatted in a text box. Display a message to the user for any bad input data.
Calculation hint: There are 16 ounces in a pound.



