Computer Science – Programming | e-Consult
Programming (1 questions)
Login to see all questions.
Click on a question to view the answer
The correct answer is A conditional statement. The 'if' statement checks a condition (whether the number is greater than 0) and executes different blocks of code based on the outcome of that condition. The 'else' part provides an alternative execution path.