From 2c9056a23e1a55fd21a8e314c903d9325bffd62e Mon Sep 17 00:00:00 2001 From: Carlos Maiolino Date: Sat, 6 Sep 2025 09:37:14 +0200 Subject: Move CPP code here Signed-off-by: Carlos Maiolino --- CPP/cpp_book/chap3/grade.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 CPP/cpp_book/chap3/grade.h (limited to 'CPP/cpp_book/chap3/grade.h') diff --git a/CPP/cpp_book/chap3/grade.h b/CPP/cpp_book/chap3/grade.h new file mode 100644 index 0000000..7cd73d1 --- /dev/null +++ b/CPP/cpp_book/chap3/grade.h @@ -0,0 +1,11 @@ +#ifndef GRADE_H +#define GRADE_H + +#include +#include "student_info.h" + +double grade(double midterm, double final, double homework); +double grade(double midterm, double final, const std::vector& hw); +double grade(const StudentInfo& s); + +#endif /* GRADE_H */ -- cgit v1.2.3