Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/User-input-Text/Icon/user-input-text.icon
Normal file
10
Task/User-input-Text/Icon/user-input-text.icon
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
procedure main ()
|
||||
writes ("Enter something: ")
|
||||
s := read ()
|
||||
write ("You entered: " || s)
|
||||
|
||||
writes ("Enter 75000: ")
|
||||
if (i := integer (read ())) then
|
||||
write (if (i = 75000) then "correct" else "incorrect")
|
||||
else write ("you must enter a number")
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue