i have written a series of programs in c++ that do various things with dates and the likes, i now have to write a piece pseudo-code that can be used for data checking, abit stuck on how to even start.
BEGIN
CALL validDate = true
CALL validmonth = true
IF m >12 or m < 1 = false
THEN
RETURN
CALL validDay = true
IF d > 31 or d < 1 = flase
THEN
RETURN
i have something like this at the monemt, but i have no idea if i am even heading in the right direction any help would be much appreciated