The registration fee in an international conference to be held at SRMAP is Rs. 5000. All the person who wish to participate are given discount in the registration fee based on following two criterion. (a) The students from CSE106L who wish to attend the conference are given 10% discount. (b) All the people who register 30 (or more) days in advance get 15% discount. Both the discounts can be aggregated, for example a CSE106L student registering 30 (or more) days in advance gets a 25%(= 10% + 15%) discount on the actual registration fee (Rs. 5000). Write a Python script that takes the details such as whether the participant is a CSE106L student
Answers
Answered by
0
Answer:
The registration fee in an international conference to be held at SRMAP is Rs. 5000. All the person who wish to participate are given discount in the registration fee based on following two criterion (a) The students from CSE106L who wish to attend the conference are given 10% discount. (b) All the people who register 30 (or more) days in advance get 15% discount. Both the discounts can be aggregated, for example a CSE 106L student registering 30 (or more) days in advance gets a 25%(= 10% + 15% discount on the actual registration fee (Rs. 5000) Write a Python script that takes the details such as whether the participant is a CSE106L student, date of registration etc. as the input and calculates the final registratio
Similar questions