Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4) Create an application that when the user clicks a button, call a sub procedure to input a student name, size and quantity of
4) Create an application that when the user clicks a button, call a sub procedure to input a student name, size and quantity of shirts ordered. Write a function to order price based on the rule: If the size is Small or Medium, the price is $10 per shirt, otherwise the price is $12.00 per shirt. Output to a label as shown using a sub procedure. (Use input validation where necessary). Your calls to your sub procedures and a function should look like this: Dim name as String Dim size as String Dim qty as Integer Dim price as Double Orders : : InputShirtInfo (name, size, qty) price CalcPrice (size, qty) OutputOrderInfo(name, price) Your input and output should look like this: Problem 4 Quit Student Name: Bill Smith The student BILL SMITH owes $36.00. Size: Small Medium Large X-Large Quantity: 3 x
Step by Step Solution
★★★★★
3.44 Rating (157 Votes )
There are 3 Steps involved in it
Step: 1
Public Class Form1 Public Sub problem4ClickByVal sender As SystemObject ByVal e As SystemEventArgs H...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started