User input/Text: Difference between revisions
Content added Content deleted
(cpb selection) |
(→{{header|Logo}}: Adding Lua solution) |
||
Line 318: | Line 318: | ||
make "input readword ; in: string 75000 |
make "input readword ; in: string 75000 |
||
show :input ; string 75000</lang> |
show :input ; string 75000</lang> |
||
=={{header|Lua}}== |
|||
<lang Lua>print('Enter a string: ') |
|||
s = io.stdin:read() |
|||
print('Enter a number: ') |
|||
i = tonumber(io.stdin:read()) |
|||
</lang> |
|||
=={{header|Mathematica}}== |
=={{header|Mathematica}}== |