We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26f9a66 commit 3b37750Copy full SHA for 3b37750
b01/bai17.cpp
@@ -0,0 +1,10 @@
1
+#include <iostream>
2
+using namespace std;
3
+int main()
4
+{
5
+ int year;
6
+ cin >> year;
7
+ if ( (year % 4 == 0 && year % 100 != 0) || (year % 400 == 0) ) cout << "Day la nam nhuan.";
8
+ else cout << "Day khong phai la nam nhuan.";
9
+ return 0;
10
+}
0 commit comments