8
AssignmentMultiple Choice

New Data Types and the If Statement

Question 8 • ASC Programming, Games, Apps and Society

You are creating a variable to be used in an if-then-else statement. Which data type would be appropriate to store the word TRUE?

Answer
A
long
B
Boolean
C
char
D
string
Previous
Next
You are creating a variable to be used in an…