DATE PROBLEMS ?
1. write a program to read month number and year as input and print its monthly calendar





ANSWER...

2. Write a program to read two different dates in the form of (d-m-y Hr:Mn:Ss AM/PM ) and find out the exact days and time completed (d-days, Hr:Mn:Ss )
For example date1 : 21-03-2020 12:01:00 AM
date 2 : 11 -06-2020 11:15:59 AM

Completed Days and Time is : 72 days , 11:14:59

ANSWER...

3. Write a program to read a date in this format(dd/mm/yyyy) and print it in words.

ANSWER...

4. Write a program to read a month and year number as input and print the number of days of the input month and year.

ANSWER...

5. Write a program to read a date in this format(dd/mm/yyyy) and print the previous date.

ANSWER...

6. write a program to read a date(dd/mm/yyyy) and find out the number of days ahead in the year.

ANSWER...

7. write a program to read number of days in the year and convert the days into date.

For example 62 days in 2025

The Resultant Date is 03/03/2025



ANSWER...

8. Write a program to read two dates in this format(dd/mm/yyyy) and print the greatest date.

ANSWER...

9. Write a program to read a date(dd/mm/yyyy) and convert the date into days.

ANSWER...

10. Write a program to read two dates in this format(dd/mm/yyyy) and print the smallest date.

ANSWER...

11. Write a program to read a date in this format(dd/mm/yyyy) and print the success date.

ANSWER...

12. write a program to read your date of birth as input and find your age in (y - years, m- months and d- days old)




ANSWER...

13. Write a program to read two dates in this format(dd/mm/yyyy) and find the number of months lapsed between two dates.

ANSWER...

14. Write a program to read two dates in this format(dd/mm/yyyy) and find the number of days lapsed between two dates.

ANSWER...

15. Write a program to read a date(dd/mm/yyyy) and find out the date is valid or invalid.

ANSWER...

16. Write a program to read a date(dd/mm/yyyy) and find its day name(Mon/Tue/Wed....)

ANSWER...

17. Write a program to read a date in this format(dd/mm/yyyy) and find the future date by adding N number of dates.( where N may be +ve or -ve)

ANSWER...

18. write a program to read year number as input and print its yearly calendar.





ANSWER...

Hungry Minds


HUNGRY MINDS
REG.NO. 09AKEPV9632M2Z9
Regd. Office : 120, Khirighat, Basti - 272002,
Uttar Pradesh , India.

Branch Office : No 91, Vallalar Nagar, V.M. Chatiram,
Tirunelveli - 627011, India

Our Services

School Software

Payment Gateway

Church Management Software

Mobile Apps

Ecommerce Site Development

Robotics Classes



hungryminds.basti@gmail.com

vasantharaj1972@gmail.com

- 2024 Copyright is Reserved. Hungry Minds 7798, India - 7985872766.