Plans: 3 months = 5000 6 months = 9000 9 months = 12000 12 months = 15000
Given N months, calculate total cost based on priority: 12 → 9 → 6 → 3
If not divisible by 3, print "Error"
Run code to see test results
Expert in Data Structures & Algorithms. Building tools to help developers crack FAANG interviews.
Hackerrank • Pending
Gocomet • Pending
Salesforce • Pending