Which of the following uses the unary logical operator?

A. If password != "sugarBear" Then
   Display "Sorry, incorrect password."
End If
B. If showsHotelClubCard Or showsTravelClubCard Then
   discount = 0.10
Else
   discount = 0.00
End If
C. If personHasMoney And showedID Then
   ticketPrice = discountPrice
End If
D. If balance >= 200 Then
   Display "Your account will continue to earn interest."
End If


Answer: A

Computer Science & Information Technology

You might also like to view...

A slide show is another name for a PowerPoint presentation.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following is Photoshop's unique filename extension?

A. .pss B. .psh C. .psd D. .psp

Computer Science & Information Technology

What does a primary key do?

a. Identifies each row of a table. b. Selects a number of rows from a database. c. Stores a bunch of related data. d. None of the above.

Computer Science & Information Technology

If an e-mail message includes a short focused subject line, then it is considered good practice within the body to use this opportunity to expound on several other topics

Indicate whether the statement is true or false

Computer Science & Information Technology