diff --git a/examples/input.etrl b/examples/input.etrl new file mode 100644 index 0000000..0a9f85a --- /dev/null +++ b/examples/input.etrl @@ -0,0 +1,10 @@ +include "std:util"; + +set main = fun() { + set name = input("What is your name? "); + set age = input("How old are you? "); + + put("Hello, " + name + "! You are " + age + " years old."); +}; + +main() \ No newline at end of file