Next Notification Date Calculation

Given a date, a notification requirement on the Nth day of each month or quarter, output the next notification date.

Input includes:

  • current_date: Current date in YYYY-MM-DD format
  • n: An i...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: