Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/User-input-Text/Ursa/user-input-text.ursa
Normal file
14
Task/User-input-Text/Ursa/user-input-text.ursa
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# user input
|
||||
#
|
||||
|
||||
# in ursa, the type of data expected must be specified
|
||||
decl string str
|
||||
decl int i
|
||||
|
||||
out "input a string: " console
|
||||
set str (in string console)
|
||||
out "input an int: " console
|
||||
set i (in int console)
|
||||
|
||||
out "you entered " str " and " i endl console
|
||||
Loading…
Add table
Add a link
Reference in a new issue