This Python program calculates discount based on the purchase amount. It demonstrates type casting by converting user input to float, and uses conditional control structures (if, elif & else) to apply discount slabs and compute the final payable amount.
-
Notifications
You must be signed in to change notification settings - Fork 0
This Python program calculates discount based on the purchase amount. It demonstrates type casting by converting user input to float, and uses conditional control structures (if, elif & else) to apply discount slabs and compute the final payable amount.
waqar-nadeem/Introduction-to-Python-Discount-Calculator-Using-Conditional-Logic
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
This Python program calculates discount based on the purchase amount. It demonstrates type casting by converting user input to float, and uses conditional control structures (if, elif & else) to apply discount slabs and compute the final payable amount.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published