days

2 Comments

Java program to convert given no. of days into months and days

1 2 3 4 5 6 7 8 9 10 11 12 13 /* Write a program to convert given no. of days into months and days. (Assume that each month is of 30 days) Example : Input – 69 Output – 69 days = 2 Month and 9 days */ class DayMonthDemo{ public static […]