Skip to content

Commit be1215d

Browse files
author
Joseph Bell
committed
Nintendo power
1 parent 1ff345a commit be1215d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

calculator.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
#include "mathlib.h"
22
#include <stdio.h>
33

4+
void func_x(void);
5+
46
int main(void) {
57
int x = 2;
68
int y = 3;
79
int x_y = x_to_y(x,y);
810
printf("Running version %s of mathlib\n", mathlib_version);
11+
func_x();
912
printf("%d^%d = %d\n", x, y, x_y);
1013
return 0;
1114
}
15+
16+
void func_x(void) {
17+
printf("Now you're playing with Nintendo power.\n");
18+
}

0 commit comments

Comments
 (0)