i am doing a software design class for my first year i had a written this psuedocode for a Timer type program type program, my teacher tells me there are errors in it i dont know whats wrong could you tell me please.

here it is

```
Program Timer
Var
mm = integer, dd = integer
BEGIN
PROMPT USER
Leap year = true
Case of MM:
4,6,9,11 : LAST_DAY = 30
1,3,5,8,10,12: LAST DAY = 31
2: do checkLeapyear
if THINGO = true
LAST_DAY = 29
Else
LAST_DAY = 28
End-if
Else: ERROR_FOUND = True
End-case
If ERROR_FOUND = false
If dd <1
or DD > LAST_DAY
ERROR_FOUND = true
End-if
End-if
DISPLAY RESULTS
```

This is my sub program for leap year

```
SUB CHECKLEAPYEAR
Var
YYYY, quotient, remainder : interger
leap year : interger
BEGIN
leap year = false
quotient = yyyy/400
remainder = yyy - (400*quotient)
If remainder = > 0
leap year = false
else
quotient = yyyy / 100
remainder = yyy-(100*quotient)
If remainder = > 0
quotient = yyyy / 4
remainder = yyy - (4*quotient)
If remainder = 0
leap year = false
End-if
End-if
Endif
EndCHECKLEAPYEAR
```

any advice would be really really nice thanks ^____^