Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this exercise, you modify the ABC Company application coded in the chapter. Use Windows to make a copy of the ABC Solution folder. Save

In this exercise, you modify the ABC Company application coded in the chapter. Use Windows to make a copy of the ABC Solution folder. Save the copy in the ClearlyVB2012\Chap09 folder. Rename the copy Modified ABC Solution. Open the ABC Solution (ABC Solution.sln) file contained in the Modified ABC Solution folder. Open the Code Editor window and locate the btnCalc_Click procedure. The selection structure's condition determines whether the hours worked are in the acceptable range. Modify the condition so that it determines whether the hours worked are not in the acceptable range. Then make the appropriate modifications to the instructions within the selection structure. Save the solution and then start the test the application. Close the Code Editor window and then close the solution

image text in transcribed

File ABC Solution Sign in 8 Edit View Project Build Debug Test Analyze Tools Extensions O 3? 2S - Debug Any CPU - M-a i 1 v 2 2 9 CD Window Help Start - || - 0 Live Share LO Search (Ctrl+Q) !?? @ Q O & CADRU D X & = = = = ICA DOO btnCalc - 4 Click Data Sources Toolbox frmMain.vb + XfrmMain.vb [Design] VE ABC Project - 1 ' Name: ABC Project T Purpose: Display an employee's gross pay l' Programmer: on V OUT AWNE 1 reference Public class frmMain 7 O references Private Sub btnExit_Click(sender As Object, e As EventArgs) Handles btnExit.click Me.Close() End Sub Solution Explorer Notifications Properties Property Manager O references Private Sub btnCalc_Click(sender As Object, e As EventArgs) Handles btnCalc.click calculates and displays gross pay Const dblRATE As Double = 8.35 Dim dblHours As Double Dim dblGross As Double Double. TryParse(txtHours. Text, dblHours) ' calculate and display gross pay or display an error message If dblHours > +0 AndAlso dblHours

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Icdt 88 2nd International Conference On Database Theory Bruges Belgium August 31 September 2 1988 Proceedings Lncs 326

Authors: Marc Gyssens ,Jan Paredaens ,Dirk Van Gucht

1st Edition

3540501711, 978-3540501718

More Books

Students also viewed these Databases questions