C2_W4_Assignment UNC_C3 Assistance

I am getting the incorrect output on Case 3, 4 and 6. Everything appears to be implemented correctly, so I could use some help pointing me in the right direction. I can send screenshots of the code so far, thanks!

please go through these post comment solutions if it helps you debug your codes

Solution post 1

Solution post 2

Let me know if issue still persist

Regards
DP