solution


In this exercise, you code an application that calculates and displays the amount of an employee’s new weekly pay. (See Appendix B for the answer.)

a. Open the New Pay Solution (New Pay Solution.sln) file contained in the ClearlyVB2012Chap06New Pay Solution folder. Code the algorithm shown in Figure 6-16. Be sure to use the TryParse method. Use the Double data type for the variables. Use a Double named constant for the raise rate of .03. Format the new weekly pay with a dollar sign and two decimal places.

b. Save the solution. Desk-check the program twice, using 200 and 330 as the current weekly pay.

c. Start and then test the application. Close the Code Editor window and then close the solution.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!