diff options
| author | pants <niklasjo2004@gmail.com> | 2026-09-21 14:17:45 -0700 |
|---|---|---|
| committer | pants <niklasjo2004@gmail.com> | 2026-09-21 14:17:45 -0700 |
| commit | a33d49ac4d1ce554c72770927957a089b4023bf1 (patch) | |
| tree | 17ea036b5a0e8b488dc236f0ce48a275ecd80ef8 /c/calculator.c | |
Diffstat (limited to 'c/calculator.c')
| -rw-r--r-- | c/calculator.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/c/calculator.c b/c/calculator.c new file mode 100644 index 0000000..06c115c --- /dev/null +++ b/c/calculator.c @@ -0,0 +1,10 @@ +#include <stdio.h> + +int main() { + printf("input expression: "); + char input[16]; + fgets(input,16,stdin); + printf("input: %s",input); + return 0; +} + |
