Problem | exam |
---|---|
User | dino |
Submission Time | 2024-12-01 19:37:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp:2:13: error: stray ‘#’ in program
2 | if x >= 0: # Indentation and correct comparison operator
| ^
exam.cpp:3:17: error: stray ‘#’ in program
3 | print("A") # Proper indentation for print statement
| ^
exam.cpp:4:35: error: stray ‘#’ in program
4 | y = int(input("What's y? ")) # Proper syntax for input
| ^
exam.cpp:5:17: error: stray ‘#’ in program
5 | if y <= 9: # Missing colon corrected
| ^
exam.cpp:1:1: error: ‘x’ does not name a type
1 | x = int(input("What's x? "))
| ^