The goal of the project is to practice the c lang with some exercises.
gcc linux
git clone https://github.com/samchan2022/c-lang-exercises.git
Check runing the final program. You could understand how the program works
cd c-lang-exercises ./compile_run.sh -d -f src/date_diff.c
go to src and start working
mkdir ans
cd ans
- Find the day difference bewteen two dates.
Requirements
- Ask user to input 2 dates in either (dd-mm-yyyy or dd/mm/yyyy)
- Let user to retry input date if the date is invalid
- Consider leap year
- name: date_diff.c
- Add test scripts