In this exercise, you modify one of the Gross Pay Calculator applications from the lesson. Use Windows
Question:
In this exercise, you modify one of the Gross Pay Calculator applications from the lesson. Use Windows to make a copy of the Gross Solution-Single folder. Rename the copy Modified Gross Solution-Single. Open the Gross Solution (Gross Solution.sln) file contained in the Modified Gross Solution-Single folder. Locate the btnCalc_Click procedure in the Code Editor window. Change the selection structure’s true path as indicated in Figure 4-28. Save the solution, and then start and test the application.
Transcribed Image Text:
1. store hours and rate in variables 2. gross = hours * rate 3. if hours are greater than 40 overtime = (hours - 40) * rate / 2 gross = gross + overtime end if 4. display gross in IbIGross
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 45% (11 reviews)
Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVersion 140220131 MinimumVisualStudioVersion 100402191 ProjectF184B08FC81C45F6A57F5ABD9991F28F Gross Project Gros...View the full answer
Answered By
Poonam Chaudhary
I have 15 month+ Teaching Experience
5.00+
2+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Use Windows to make a copy of the Gross Pay Solution-Sub folder from Lesson A. Rename the copy Gross Pay Solution-Sub-ComboBox. Open the Gross Pay Solution (Gross Pay Solution.sln) file contained in...
-
In this exercise, you modify one of the Projected Sales applications from this chapters Apply lesson. Use Windows to make a copy of the Projected Sales Solution folder. Rename the copy Modified...
-
In this exercise, you modify one of the Projected Sales applications from this chapters Apply lesson. Use Windows to make a copy of the Projected Sales Solution-ForNext folder. Rename the copy...
-
Given that a quantity Q(t) is described by the exponential growth function Q(t) = 400e0.01t where t is measured in minutes, answer the following questions. (a) What is the growth constant k? k = (b)...
-
Let E be a nonempty Jordan region in R2 and f: E [0, ) be integrable on E. Prove that the volume of Ω = {(x, y, z): (x, y) E, 0 Vol(2) f dA.
-
You noticed that $800 was stolen from your checking account using your debit card, but life being as busy as it is, you didn't report it until 75 days later. What is your liability?
-
Research a past California case in which you believe a removal would have changed the outcome of the case. Using your knowledge of the potential advantages of transferring a case already filed in the...
-
King Company is contemplating the purchase of a smaller company, which is a distributor of Kings products. Top management of King is convinced that the acquisition will result in significant...
-
Warren Exploration Company reported these figures for 2024 and 2023: (Click the icon to view the figures.) Compute the rate of return on total assets for 2024. (Round to two decimals.) Select the...
-
The corporate charter of Gage Corporation allows the issuance of a maximum of 100,000 shares of common stock. During its first 2 years of operation, Gage sold 70,000 shares to shareholders and...
-
The expression 8 >= 4 + 6 OrElse 5 > 6 AndAlso 4 < 7 evaluates to _____________________. a. True b. False
-
Create an application that displays the number of round tables needed to seat only the guests at a wedding reception. (In other words, the bridal party does not need to be included in this...
-
Block B in Figure weighs 711 N. The coefficient of static friction between block and table is 0.25; angle is 30 o ; assume that the cord between B and the knot is horizontal. Find the maximum weight...
-
A graph is a picture of ordered pairs of numbers. Thus, to draw a graph we must use graph paper and a set of ordered pairs of numbers. Graph paper is provided at the end of this experiment. You must...
-
Display the different AC numbers, charter dates, and charter fuel gallons. Use the IF operator to generate fuel replenishment status messages. Use less than 170 as your benchmark to replenish fuel...
-
Suppose that r = 2, t = 4, u = 0, and w= - 6. Evaluate each of the following expressions. a. t(3r2w)= b. w 28+ u = c. 5- - t = d. 73+t2- t =
-
Laker Company reported the following January purchases and sales data for its only product. The Company uses a periodic inventory system. For specific identification, ending inventory consists of 214...
-
At a local crisis center, three volunteers answer the phones to help solve residents' problems. Calls arrive randomly, at an average rate of 20 per eight hour day (crisis center operates for 8 hours...
-
A manager is trying to decide between two different types of machines. The two machines and their associated costs along with the other important information is listed below. Each machine can produce...
-
Information graphics, also called infographics, are wildly popular, especially in online environments. Why do you think infographics continue to receive so much attention? How could infographics be...
-
In this exercise, you will modify the program from Lab 9-2 in Chapter 9. If necessary, create a new project named ModifyThis13 Project, and save it in the Cpp8\Chap10 folder. Copy the instructions...
-
In this exercise, you will modify the program from Lab10-1. Follow the instructions for starting C++ and viewing the ModifyThis14.cpp file, which is contained in either the Cpp8\Chap10\ModifyThis14...
-
In this exercise, you will modify the guessing game program from Figure 9-11 in Chapter 9. Follow the instructions for starting C++ and viewing the Introductory15.cpp file, which is contained in...
-
Design a Turing Machine (TM) for the following language, give formal description of the TM and draw state diagram: {w|w is a string over the alphabet {0, 1} and number of 1's in w is divisible by 3}....
-
Jimmy John Hunter owns a small farm outside Winona and was getting very frustrated with turkey vultures that pester his sleeping livestock to the point where his chickens are laying fewer eggs. A few...
-
If the beginning cash balance is $ 5,000, the net cash inflow from operating activities is $20.000, net cash outflow from investing activities is (15,000) and net inflows from financing activities is...
Study smarter with the SolutionInn App