Exam-style question
Try this first
A program needs to determine if a number is positive, negative, or zero.
Description
Number Classification
Write a program that classifies a number as positive, negative, or zero using nested selection statements.
- a[1]
State What type of statement is used to classify the number?
Aim for approximately 1 distinct marking point.
0 of 1 part answered
Answer every part before opening the mark scheme.
Concise answer preview
Concise answer
Nested selection statement
Why this is correct
A nested selection statement is used to classify the number based on multiple conditions.
Complete every part above to unlock the full mark scheme through the existing protected review flow.
Common mistake
No common mistake is linked to this question yet.
