Question
Can someone please draw a flowchart for this label the start - input - process- output - end with clear variable names. Thank you in
Can someone please draw a flowchart for this label the start - input - process- output - end with clear variable names. Thank you in advance.
CS146 Visual Basic 2017
Suppose automobile repair customers are billed at the rate of $35 per hour of labor. Also, suppose costs for parts and supplies are subject to a 5% sales tax. Write a program to display a simplified bill. The customers name, the number of hours of labor, and the cost of parts and supplies should be entered into the program via text boxes. When a button is clicked, the customers name and the three costs should be displayed in a list box, as shown below.
Come up with a proper user form interface that accepts input and shows output.
Your GUI screen should contain the following commands: Labels, Text boxes, Buttons, List box.
Your program will be graded on the following programming techniques:
GUI SCREEN:
Create GUI screen to include 3 labels, and 3 text boxes, 1 button and 1 list box. Resize the GUI screen & the list box to best fit the output displayed (ie: no scroll bars). Title the form as YourLastNames A-1 Auto Repair. Use descriptive controls names (ie: btnDisplay, lstOutput). Use Courier New font to help with the output alignment.
PROGRAM:
Rename the VB form as frmRepair.vb in the Solution Explorer. Use const variables for both the labor rate and sales tax. Use fmtstr for the output using left justification and currency allignments. Add in comments to help in explanation of what your program is doing. Add the modifly the following comments under the Public Class and before the first sub.
CS146 Visual Basic 2017
Display Bill Button INPUT
Read the input data and store into variables
PROCESS
Caluclate labor cost, part cost and total cost using formuals and store into variables
OUTPUT
Clear the output list box before displaying the output. Use format string for the output formatting and alignment. Display the repair cost information.
New Customer Button INPUT
None
PROCESS
None
OUTPUT
Clear all text boxes and the list box Set focus on Customer text box
Exit Button
INPUT
None
PROCESS
None
OUTPUT
Display Message box with closing comments Close the program
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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