Programmign Logic for business Modify the PROCESS routine in Section 5.4 to determine whether the student is full time or part time before checking whether he or she lives in district or out of district. Use a flowchart and pseudocode to show your solution.

Here

is the modified PROCESS routine in pseudocode:

```
PROCESS(student):
IF student.isFullTime == True THEN
IF student.livesInDistrict == True THEN
SELECT "Full time student living in district."
ELSE
SELECT "Full time student living out of district."
ENDIF
ELSE
IF student.livesInDistrict == True THEN
SELECT "Part time student living in district."
ELSE
SELECT "Part time student living out of district."
ENDIF
ENDIF
```

And here is the corresponding flowchart for the modified PROCESS routine:

```
_______________________
| |
| Start |
|_______________________|
|
|
V
_______________
| |
| student |
|_______________|
|
|
V
________|_______
| |
| isFullTime |
|________________|
|
|
V
______|_______
| |
| True |
|_______________|
|
|
V
_____________
| |
| livesInDistrict |
|_____________|
|
|
V
________|_______
| |
| True |
|_______________|
|
|
V
_____________
| |
| SELECT |
| "Full time student living in district."|
|_____________|
|
|
V
___________________________
| |
| End |
|____________________________|
```

This modified routine first checks whether the student is full time or part time. Based on that, it then checks whether the student lives in the district or out of the district. Finally, it selects the appropriate message indicating the student's status.