summaryrefslogtreecommitdiff
path: root/c/calculator.c
diff options
context:
space:
mode:
authorpants <niklasjo2004@gmail.com>2026-09-21 14:17:03 -0700
committerpants <niklasjo2004@gmail.com>2026-09-21 14:17:03 -0700
commit7b21727285e50b0b050c4ddd70d07542229c5366 (patch)
tree5d369153c5df5b41f3750d25479a68f20169c8ff /c/calculator.c
init
Diffstat (limited to 'c/calculator.c')
-rw-r--r--c/calculator.c10
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;
+}
+