diff options
| author | Zuhaitz <zuhaitz.zechhub@gmail.com> | 2026-01-18 19:55:42 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-18 19:55:42 +0000 |
| commit | c385307e5d6ea84a726f878d2129da19ae1e8e5b (patch) | |
| tree | 710a286d1a85540a597fa46718f4972e700189c9 /README.md | |
| parent | 8401c970ece366592dcbfaa0affe1a1a1bc18ac8 (diff) | |
| parent | 90d8165c5b284650a8b03fca178d07eb1f87b59f (diff) | |
Merge pull request #72 from anas-contribs/docs/fix-readme-typo
docs(readme): fix input prompt example
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -355,7 +355,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."; ``` |
