Problem with a Programm
Posted: Tue Nov 04, 2014 10:29 am
Hello, im learning scheme now for one week. And i have a Problem with one programm. I have to create a programme, which validate a given date witout year and give bach true or false.
So for example (valid-date? 31 4) has to return #f
The condition is no years and the feb always has 28 days. Ive tried the hole night with the function cond equal but no idea how it can be work.
Does anyone have ideas please ?
thank you
So for example (valid-date? 31 4) has to return #f
The condition is no years and the feb always has 28 days. Ive tried the hole night with the function cond equal but no idea how it can be work.
Does anyone have ideas please ?
thank you