diff options
| -rw-r--r-- | 4/4.c | 2 | ||||
| -rw-r--r-- | 4/5.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -68,7 +68,7 @@ int main(int argc, char *argv[]) { break; case FUNCTION: if (strcmp("top", s) == 0) - peek(); + printf("peek top: %.8g\n", peek()); else if (strcmp("dup", s) == 0) push(peek()); else if (strcmp("swp", s) == 0) { @@ -68,7 +68,7 @@ int main(int argc, char *argv[]) { break; case FUNCTION: if (strcmp("top", s) == 0) - peek(); + printf("peek top: %.8g\n", peek()); else if (strcmp("dup", s) == 0) push(peek()); else if (strcmp("swp", s) == 0) { |
