Write a project that calculates the shipping charge for a package if the shipping rate is $0.12
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a project that calculates the shipping charge for a package if the shipping rate is $0.12 per ounce. Form : Use labeled text boxes for the package-identification code (a sixdigit code) and the weight of the packageone box for pounds and another one for ounces. Use a text box to display the shipping charge. Include buttons for Calculate , Clear , Print , and Exit . Code : Include event-handling methods 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.
Posted Date: