Join for FREE | Take the Tour Lost Password?
Shop deviantART for the
holidays and save BIG!
Click here! :holly:
[x]

deviantART

:date:
 

Saying I Love You in Turing by ~Ninja-Penguins:iconNinja-Penguins:



loop

var name : string
var phrase : string
var reply : string

put "What is his or her name?"
get name

put "What would you like to tell him or her?"
get phrase

put "Are you sure? y or n" ..
get reply
exit when reply = "n"

put "Hi ", name, " just wanted to say that ", phrase, "."
end loop

Execution...

What is his or her name?
Mary

What would you like to tell him or her?
I love you

Are you sure? y or n
y

Hi Mary just wanted to say that I love you.
©2007-2009 ~Ninja-Penguins
:iconninja-penguins:

Author's Comments

Well I started taking a computer programming class a few weeks ago and the most basic Turing is displayed above.
Why I did this exactly I don't know, maybe it's just for me, but for now I'll share it with those who care to read and comment.
Hope you can all say "I love you" in an easier way ^_^

Comments


love 0 0 joy 1 1 wow 0 0 mad 0 0 sad 0 0 fear 0 0 neutral 0 0
Hidden by Owner
:iconhindered-mind:
This is a really great format which was strangely added to the topic, wonderful job

Keep it up

--
Life is easy; it's dying that's hard.
Hidden by Owner
:iconoverfiend-87:
interesting...I persoanlly don't know how to work those comupter programs. I know quite a big...but not that much in computers.

--
my :gallery: might have something that interests you :).

Come look at look at cowell81 stories. Take it from me. I live in fiction and he writes like a pro.
[link]

Details

September 20, 2007
749 bytes

Statistics

5
1 [who?]
88 (0 today)
0 (0 today)

Site Map