Question
What data type should you use to hold whether a person passed or failed a class? Group of answer choices None of these String double int boolean
Answers
GPT-4o mini
To hold whether a person passed or failed a class, the most appropriate data type from the given choices is **boolean**. A boolean can represent two possible values: true (for passed) and false (for failed).