1
0

🔨」 fix: fixed ex01

This commit is contained in:
2025-07-03 14:16:41 +02:00
parent 14cda73db2
commit 10e10c95f4

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */ /* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/06/03 12:07:59 by adjoly #+# #+# */ /* Created: 2025/06/03 12:07:59 by adjoly #+# #+# */
/* Updated: 2025/06/03 15:56:22 by adjoly ### ########.fr */ /* Updated: 2025/07/03 14:15:57 by adjoly ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -18,7 +18,7 @@
#include <stdexcept> #include <stdexcept>
int add(int first, int second) { return first + second; } int add(int first, int second) { return first + second; }
int subst(int first, int second) { return first + second; } int subst(int first, int second) { return first - second; }
int mult(int first, int second) { return first * second; } int mult(int first, int second) { return first * second; }
int div(int first, int second) { int div(int first, int second) {
if (second == 0) if (second == 0)