Question
An Introduction to Programming Using Visual Basic Tenth Edition
Chapter 3 Programming Project 2
What is the solution to this project?
one of the numbers in an input text box is change the type of Auto Repair Calculator X Customer: John Doe Hours of labor: 3.5
Programming Projects boxes. When a button is clicked, the customers name and the three costs should be displayed in a list b
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Create a form with 3 labels,3 textboxs, a listbox and a command button.

and code in command button's click event.

Private Sub CommandButton1_Click()
Dim hour As Single
Dim cost As Single
Dim total As Single

hour = Val(TextBox2.Text) * 35
cost = Val(TextBox3.Text) + (Val(TextBox3.Text) * 0.05)
total = hour + cost
ListBox1.AddItem ("Customer " & TextBox1.Text)
ListBox1.AddItem ("Labor Cost $" & Format(hour, "00.00"))
ListBox1.AddItem ("Parts Cost $" & Format(cost, "00.00"))
ListBox1.AddItem ("Total Cost $" & Format(total, "00.00"))
End Sub

Auto Repair Solo Customer Hours of the Costel parts 35 14.35 Jon Doe 31220 SIL

Add a comment
Know the answer?
Add Answer to:
An Introduction to Programming Using Visual Basic Tenth Edition Chapter 3 Programming Project 2 What is...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • An Introduction to Programming Using Visual Basic Tenth Edition Chapter 3 Programming Project 3 What is...

    An Introduction to Programming Using Visual Basic Tenth Edition Chapter 3 Programming Project 3 What is the solution to this project? Change X Amount of change: 93 Determine Composition of Change Quarters: 3 Dimes: 1 Nickels: 1 Cents: 3 FIGURE 3.63 Possible outcome of Programming Project 3. own in Fig. 3.62. 3. Change Write a program to make change for an amount of money from 0 through 99 cents input by the user. The output of the program should show...

  • Visual Basic Programming Step 1-2 not important, it's just file naming. 3. Form contains nine Labels,...

    Visual Basic Programming Step 1-2 not important, it's just file naming. 3. Form contains nine Labels, one TextBox, and three Button controls. You use labels to let user know what to enter and what will be displayed; TextBoxes to input a number between 1 and 99. Buttons to Calculate change. Clear Input and Exit program. See below Form Layout with Controls for more details 4. Declare variables to store the entered value in TextBox, and what will be displayed in...

  • Programming Project 3 See Dropbox for due date Project Outcomes: Develop a Java program that uses:...

    Programming Project 3 See Dropbox for due date Project Outcomes: Develop a Java program that uses: Exception handling File Processing(text) Regular Expressions Prep Readings: Absolute Java, chapters 1 - 9 and Regular Expression in Java Project Overview: Create a Java program that allows a user to pick a cell phone and cell phone package and shows the cost. Inthis program the design is left up to the programmer however good object oriented design is required.    Project Requirements Develop a text...

  • If you’re using Visual Studio Community 2015, as requested, the instructions below should be exact but...

    If you’re using Visual Studio Community 2015, as requested, the instructions below should be exact but minor discrepancies may require you to adjust. If you are attempting this assignment using another version of Visual Studio, you can expect differences in the look, feel, and/or step-by-step instructions below and you’ll have to determine the equivalent actions or operations for your version on your own. INTRODUCTION: In this assignment, you will develop some of the logic for, and then work with, the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT