A local gym needs an application to apply a 10% discount for all new members who present a coupon during enrollment. Write the statements to declare a variable to record if a customer has a coupon, and to assign the discount rate. The discount rate will not change while the application is running.

What will be an ideal response?


Dim blnCoupon As Boolean
Const decDISCOUNT As Decimal = .1

Computer Science & Information Technology

You might also like to view...

What is the value of a after execution of the following code?

int a = 10; for (int ctr = 0; ctr < 4; ctr++) a = a – 1; a = a + 3; a) 8 b) 9 c) 18 d) 20

Computer Science & Information Technology

An electronic ____ is an object you use to enter, update, and print records in a database.

A. page B. form C. control D. report

Computer Science & Information Technology

Data formatted as a date takes the form of a serial number, with the number 1 representing January 1, 1900

Indicate whether the statement is true or false

Computer Science & Information Technology

An example of a square root function written correctly is ____.

A. SQRT(C4) B. =SQROOT(C4) C. =SQRT(C4) D. SQROOT(C4)

Computer Science & Information Technology