diff --git a/README.md b/README.md index 23a4484..aa663fa 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # FT-2-ldpl -This is a recreation of my second Fortune Telling app, written in LDPL \ No newline at end of file +This is a recreation of my second Fortune Telling app, written in [LDPL lang](https://www.ldpl-lang.org/). \ No newline at end of file diff --git a/ft-2.ldpl b/ft-2.ldpl new file mode 100644 index 0000000..2e490ec --- /dev/null +++ b/ft-2.ldpl @@ -0,0 +1,19 @@ +# This is a very advanced fortune telling app written in LDPL. + +# But before we get to the code, let me tell you a joke. + +# Q: How many programmers does it take to change a light bulb? +# A: None. It's a hardware problem. + + +DATA: + +weight is number +name is text + +PROCEDURE: + +Display "Enter your name: " +accept name +Display "Thank you for trying out this application, " name crlf +