#!/usr/bin/ruby presidents = ["Ford", "Carter", "Reagan", "Bush1", "Clinton", "Bush2"] for ss in 0...presidents.length print ss, ": ", presidents[presidents.length - ss - 1], "\n"; end
http://www.troubleshooters.com/codecorn/ruby/basictutorial.htm
Bangkitlah yang bermimpi.Jangan pernah biarkan pasrah bunuh impianmu yang megah.
Home » Tugas » Contoh bahasa pemrograman ruby
Diposting oleh den_holic on Jumat, 08 Januari 2010
#!/usr/bin/ruby presidents = ["Ford", "Carter", "Reagan", "Bush1", "Clinton", "Bush2"] for ss in 0...presidents.length print ss, ": ", presidents[presidents.length - ss - 1], "\n"; end
http://www.troubleshooters.com/codecorn/ruby/basictutorial.htm
2010 All Rights Reserved Yang Bermimpi.
Wordpress by Chris Pearson - Blogger by Belajar SEO Blogspot
{ 0 komentar... read them below or add one }
Posting Komentar