Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- void verifDate(int jour, int mois, int annee, bool& valide, bool& bisextile, bool& mois30, bool& fevrier)
- {
- int jour, mois, annee;
- bool bisextile, mois30, fevrier, valide;
- void boolDate(int jour, int mois, int annee, bool& bisextile, bool& mois30, bool& fevrier);
- if (((mois == 2) && (jour >= 29) && (bisextile == false)) || ((mois30 == true) && (jour == 31)))
- {
- valide = false:
- } else {
- valide = true:
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement