User input/Text: Difference between revisions
Content added Content deleted
imported>Maxima enthusiast No edit summary |
imported>Brie (Add Nu) |
||
Line 1,892: | Line 1,892: | ||
30 INPUT "ENTER AN INTEGER: ",INTEGER |
30 INPUT "ENTER AN INTEGER: ",INTEGER |
||
40 PRINT "YOU ENTERED";INTEGER;"."</syntaxhighlight> |
40 PRINT "YOU ENTERED";INTEGER;"."</syntaxhighlight> |
||
=={{header|Nu}}== |
|||
<syntaxhighlight lang="nu"> |
|||
{ |
|||
String: (input "Enter a string: ") |
|||
Number: (input "Enter an integer: ") |
|||
} |
|||
</syntaxhighlight> |
|||
{{out}} |
|||
<pre> |
|||
Enter a string: Hello world! |
|||
Enter an integer: 75000 |
|||
╭────────┬──────────────╮ |
|||
│ String │ Hello world! │ |
|||
│ Number │ 75000 │ |
|||
╰────────┴──────────────╯ |
|||
</pre> |
|||
=={{header|Oberon-2}}== |
=={{header|Oberon-2}}== |