Write An Algorithm In Pseudocode For The Following Scenario