Answer:
See the explanation please
Step-by-step explanation:
A.
The algorithm tries to subtract the number of credits taken so far and the required credits for the degree before getting the number of credits required for the degree program and the number of credits the student has taken so far. Since the values are not known, calculation cannot be done.
Write the step 3 after step 5
B.
Step 1, 2, 4, 5 require user interaction, since it is asking the user to enter values