Can someone please complete this project in visual basic code.
Then copy and paste the code window and design window in the answer
so I can test it and play with it? Thankyou so much I will be sure
to upvote!
4. TG Automotive The TG Automotive repair company performs the following routine maintenance services on passenger automobiles: • Oil change—$36.00 Lube job—$28.00 Radiator flush-$50.00 Transmission flush—$120.00 Inspection—$15.00 • Muffler replacement-$200.00 Tire rotation-$20.00 TG Automotive also performs other nonroutine services and charges for parts and labor ($60 per hour). Create an application that displays the total for a customer's visit to the shop. A sample user interface for the application appears in Figure 6-27. Your source code should contain functions, such as the ones listed here, that vali- date inputs and calculate the various parts of the bill: Verify that the two input values are valid numbers and neither is less than zero. Function ValidateInputs() As Boolean . Calculate all oil and lubrication charges. Function Calcoi LubeCharges() As Decimal 'Calculate radiator and transmission flush charges. Function CalcFlushCharges() As Decimal . Calculate inspection, muffler, and tire rotation charges. Function CalcMiscCharges() As Decimal 1 Calculate and display the total of all charges, including labor, parts, and services. Sub Calculate TotalCharges() 1
TG Automotive Radiator and Transmission Oil and Lubrication Oil Change 36.00 Radiator Flush 50.00 Lube Job 28.00 Transmission Flush 120.00 Parts and Labor Miscellaneous Inspection Replace Muffler Tire Rotation 15.00 200.00 Parts 4500 dollars 20.00 Labor 120 minutes Surimary of Changes Services and Labor 3339.00 Tax(on parts) $2.70 Parts 345.00 Total Fees $346 70 Calculate Total Clear Exit Programming Challenges Also, create procedures, such as the ones listed here, that are called when the user clicks the Clear button: Reset the oil change and lube job check boxes. Sub ClearOil Lube) Clear the radiator and transmission flush check boxes. Sub ClearFlushes() 1 Clear the inspection, muffler replacement, and tire rotation check boxes. Sub ClearMisc) . Clear the parts and labor check boxes. Sub ClearOther()
Project 10 - Chapter 6 - TG Automotive (#4 on pages 424 and 425) DUE: By the last day of the course. The goal of completing this assignment is to practice creating "General Purpose Procedures” and "Functions". Please use the data presented in each window below to show your project works. (as shown on the bottom of page 424.) You will click on the check boxes; Oil Change, Lube Job, Transmission Flush, Inspection and Tire Rotation and enter the numbers presented in the textboxes for Parts, 45.00, and Labor, 120 (keep in mind that 120 minutes equals 2 hours). The Tax on parts is 6% or 0.06. You may use the functions and procedures recommended in the textbook or you may simply use ones that you feel are important to get the answers. However, you must use at least one function and one general procedure. Your program will calculate and display the results in the four labels in the "Summary of Charges" box.
4. TG Automotive The TG Automotive repair company performs the following routine maintenance services on passenger autom
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
4. TG Automotive The TG Automotive repair company performs the following routine maintenance services on passenger autom
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!