Initial Course

This commit is contained in:
David Gil de Gómez Pérez
2026-08-11 17:40:36 +03:00
commit 9aed1d1d86
202 changed files with 3420 additions and 0 deletions
@@ -0,0 +1,22 @@
#include "conditionals.hpp"
namespace control_flow {
auto classify_score(int score) -> Grade {
// TODO: A>=90, B>=80, C>=70, D>=60, else F
(void)score;
return Grade::F;
}
auto max_of_three(int a, int b, int c) -> int {
(void)a; (void)b; (void)c;
return 0;
}
auto sign_of(int value) -> int {
// TODO: Return -1, 0, or 1
(void)value;
return 0;
}
} // namespace control_flow