declare sunday & amount step 1: input day of transaction step 2: enter amount step 3: if day != sunday and amount > 5000 step 4: print transaction succecful step 5:else (traansaction failed)