Website Summary Files Commits Branches @commit @diff @stats
path: root / Week02 / Exercise01 / main.cpp
diff options
context:
space:
mode:
1 files changed, 12 insertions, 0 deletions
-rw-r--r--Week02/Exercise01/main.cpp12
diff --git a/Week02/Exercise01/main.cpp b/Week02/Exercise01/main.cpp
new file mode 100644
index 0000000..28856ef
--- /dev/null
+++ b/Week02/Exercise01/main.cpp
@@ -0,0 +1,12 @@
+#include <iostream>
+#include "date.h"
+
+int main() {
+ for (unsigned i = 0; i < 3; ++i) {
+ printDate(readDate());
+ std::cout << ' ';
+ }
+ std::cout << std::endl;
+
+ return 0;
+}