summaryrefslogtreecommitdiff
path: root/CPP/cpp_book/chap6/median.h
diff options
context:
space:
mode:
authorCarlos Maiolino <[email protected]>2026-02-20 16:17:14 +0100
committerCarlos Maiolino <[email protected]>2026-02-20 16:17:14 +0100
commit4ff0e42f65d8bba3d21bed53bfe1251d8db5c13f (patch)
tree9ac61873e2676c3f392bd26063afeb16897c3902 /CPP/cpp_book/chap6/median.h
parentfd313dd5ad9ac067a31f2b1760b85bd305567131 (diff)
extra codeHEADmaster
Diffstat (limited to 'CPP/cpp_book/chap6/median.h')
-rw-r--r--CPP/cpp_book/chap6/median.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/CPP/cpp_book/chap6/median.h b/CPP/cpp_book/chap6/median.h
new file mode 100644
index 0000000..f4e6580
--- /dev/null
+++ b/CPP/cpp_book/chap6/median.h
@@ -0,0 +1,8 @@
+#ifndef MEDIAN_H
+#define MEDIAN_H
+
+#include <vector>
+
+double median(std::vector<double> vec);
+
+#endif /* MEDIAN_H */