- Nested Discounts
A store offers discounts:
- If purchase > é╣5000 åÆ 10% off
- If purchase > é╣10000 åÆ 20% off
- Otherwise åÆ No discount
Write a program to compute the final amount.
2. Employee Bonus: If years of service > 5, give a bonus of 5% of salary; otherwise, no bonus.
3. Password Strength Checker: Check if a password contains at least one uppercase, one lowercase, one number, and one special character.
4. Triangle Type: Input sides a, b, c åÆ Check whether it is scalene, isosceles, or equilateral.
5. ATM Withdrawal Check: Withdraw only if amount ëñ balance and multiple of 100. Input withdrawal amount and account balance
