This part consists ofa Visual Basic program. You will answer 15 questions about
ID: 3596334 • Letter: T
Question
This part consists ofa Visual Basic program. You will answer 15 questions about this program in the space provided below 36-45. Fill in the blanks below whereveryou see underlined letters in the following code: 6. AAAAA should be 7. BBBBB_should be 38. CCCCC should be 9. DDDDD should be 40. EEEEE should be 41 42. GGGGG should be 43. HHHHH should be Catch Clear Show ToString should be ry Private Close Parse Dim Focus 45· J.XXLJJ should be Public Class bookSaleForm Dimension module-level variables and canstants. AAAAA quantitySum nteger, saleCountinteger As Integer AAAAA discountSumDecimal, discountedPriceSumDecimal As Decimal Const DISCOUNT RATE Decimal As Decimal -0.15D Private Sub calculateButton Click (ByVal sender As System.Object, ByVal e As System.EventATgs) Handles calculateButton .Click ' Calculate the price and discount. BBBBB guantityntege r As Integer BBBBB priceDec imal, extendedPriceDecimal, discountDecimal, --CITScountedPriceDecimal, averageDiscountDecimal As Dcimal Convert quantity to numeric variable. quantityinteger Integer DDDDD (.quantityTextBox .Text) Convert price if quantity was successful priceDecima! = Decimal.DD (.priceTextBox. Text) ' Calculate values for sale. extendedPriceDecima1 quantityinteger * priceDecimal discountDecimal -Decimal .Round ( extendedPrice Decimal *DISCOUNT RATE Decimal), 2) discountedPriceDecimal -extendedPriceDecimal - discountDecimalExplanation / Answer
36.Dim
37.Parse
38.Private
39. Focus
40.ToString
41.Try
42.Show
43.catch
44.clear46.
45.close
46.So that it gives a good format while outputting the answer,
47. A default error message predefined by this type of error will be thrown to the output
48. They are global variables that can be used by any procedure
49. Promt: String that is displayed in the dialog box, Buttons: what button will be there in the dialog box, title: string displayed in the title bar of the dialog box.
50. Whenever you click on a form, button etc it takes you to that procedure directly.
I have solved ALL your questions. Please do not forget to give a positive like to the answer. Thank you.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.