xiranda/test.c

11 lines
422 B
C
Raw Normal View History

2024-04-01 07:23:49 -04:00
extern int add (int x, int y, int z) { return x + y + z; }
extern int sub (int x, int y) { return x - y; }
extern int mul (int x, int y) { return x * y; }
extern int div (int x, int y) { return x / y; }
extern int mod (int x, int y) { return x % y; }
extern int zah (int x, int y, int z) { return add (x, z*y, z*x); }
2024-03-31 22:58:48 -04:00
2024-04-01 07:23:49 -04:00
extern int GetInt (int X, int Y, char * Z);
2024-03-31 22:58:48 -04:00
2024-04-01 07:23:49 -04:00
extern int W (int X) { return (3 + GetInt (X, 1, "A")); }