Qualtrics Interview Question

Create a program to determine if the parentheses are closed properly.