diff --git a/calculator.c b/calculator.c index f9c4433..3d2c083 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 - [Thomas Nguyen]\n"); } /* Adds a and b and returns the result */ @@ -15,10 +15,10 @@ int subtract(int a, int b) { return a - b; } -/* - * Add the multiply function below - * Multiplies a and b and returns the result - */ +/* Multiplies a and b and returns the result */ +int multiply(int a, int b) { + return a * b; +} int main(void) { print_banner();