diff --git a/calculator.c b/calculator.c index f9c4433..6741632 100644 --- a/calculator.c +++ b/calculator.c @@ -2,7 +2,7 @@ void print_banner(void) { printf("Nebula Labs Workshop\n"); - printf("C Calculator - [Your Name Here]\n"); + printf("C Calculator - Michael Cat\n"); } /* Adds a and b and returns the result */ @@ -15,10 +15,9 @@ int subtract(int a, int b) { return a - b; } -/* - * Add the multiply function below - * Multiplies a and b and returns the result - */ +int multiply(int a, int b) { + return a * b; +} int main(void) { print_banner();