Happy PI Day
Happy PI Day
I just thought I would wish everyone a happy 3.14 Day...
Re: Happy PI Day
[youtube]http://www.youtube.com/watch?v=qZlyHtSZsYQ[/youtube]
See if you can guess the languages 
Code: Select all
echo "Happy " . pi() . " day!";
std::cout << "Happy " << 103993 / 33102 << " day!" << endl;
Console.WriteLine("Happy " + MathHelper.Pi + " day!");
Put_Line("Happy " & Float'Image(103993 / 33102) & " day!");
(format t "Happy ~a day!" pi)
--- Game Database ---
For all your game information needs!
Visit us at: http://www.gamedatabase.eu today!
For all your game information needs!
Visit us at: http://www.gamedatabase.eu today!
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Happy PI Day
Code: Select all
echo "Happy " . pi() . " day!";
std::cout << "Happy " << 103993 / 33102 << " day!" << endl;
Console.WriteLine("Happy " + MathHelper.Pi + " day!");
Put_Line("Happy " & Float'Image(103993 / 33102) & " day!");
(format t "Happy ~a day!" pi)PHP
C++
Java
VB
ruby
though i think at least 2 of those are wrong
Re: Happy PI Day
You got 3 wrong.hallsofvallhalla wrote:k without cheating and browsing for itCode: Select all
echo "Happy " . pi() . " day!"; std::cout << "Happy " << 103993 / 33102 << " day!" << endl; Console.WriteLine("Happy " + MathHelper.Pi + " day!"); Put_Line("Happy " & Float'Image(103993 / 33102) & " day!"); (format t "Happy ~a day!" pi)
PHP
C++
Java
VB
ruby
though i think at least 2 of those are wrong
First is PHP
Second C++
Third is C# with XNA. It could also be VB, same syntax. MathHelper.Pi is XNA, while Math.Pi is ordinary .Net PI.
Fourth is Ada
Fifth is LISP
--- Game Database ---
For all your game information needs!
Visit us at: http://www.gamedatabase.eu today!
For all your game information needs!
Visit us at: http://www.gamedatabase.eu today!
Re: Happy PI Day
I am so happy I found this place 
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: Happy PI Day
oh you are a tricksy little Hobbit
Re: Happy PI Day
Haha, no fun if it is too easyhallsofvallhalla wrote:oh you are a tricksy little Hobbit
Just done with our Ada project. Had to build a client and a multithreaded server. Was quite nice to learn some multithreading, altho a pain to sync threads. Networking was so much easier
--- Game Database ---
For all your game information needs!
Visit us at: http://www.gamedatabase.eu today!
For all your game information needs!
Visit us at: http://www.gamedatabase.eu today!