Write a program to accept an amount from the user and prints the discount given along with the final amount to be paid. The program should give 5% discount if the amount entered is over 5000 otherwise no discount.
"Enter amount to be paid: "
"You get a 5% discount"
"Amount to be paid after discount: "
print("Sorry, no discount applicable. Amount payable: ",amt)