enter their name, age and amount to be paid by them

WAP to prompt user to enter their name, age and amount to be paid by them.

Print the receipt as below when age<55:

Enter your name: Sharan
Enter your age: 54
Enter the total amount :1000
Hi Sharan, Please pay an amount of 1000.0

Print the receipt as below when age>=55:

Enter your name: Shilpa
Enter your age: 56
Enter the total amount :1000
You are eligible for senior citizen discount
Hi Shilpa, Please pay an amount of 900.0
Ram
56
2000
Total : 0 Discussion
Login