Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. bool bisiesto(int a)   //definición de la función
  2. {
  3.   if (a%400 == 0)
  4.     return true;
  5.   else
  6.     if (a%4 == 0 && a%100 != 0 )
  7.        return true;
  8.     else
  9.        return false;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement