From 90d8165c5b284650a8b03fca178d07eb1f87b59f Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Sun, 18 Jan 2026 19:18:53 +0200 Subject: docs(readme): fix input prompt example --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8a7629b..59dd122 100644 --- a/README.md +++ b/README.md @@ -351,7 +351,8 @@ Zen C supports a shorthand for prompting user input using the `?` prefix. - Format specifiers are automatically inferred based on variable type. ```c -var age = "How old are you? "; +var age: int; +? "How old are you? " (age); println "You are {age} years old."; ``` -- cgit v1.2.3