Yurttas/PL/SL/ruby/F/02/06/01/d 10.rb

From ZCubes Wiki
Jump to navigation Jump to search
 1#
 2#  Copyright(C) 2008
 3#  All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
 4#
 5#  Permission to use, copy, modify, and distribute this
 6#  software and its documentation for EDUCATIONAL purposes
 7#  and without fee is hereby granted provided that this
 8#  copyright notice appears in all copies.
 9#
10#  date   : June 1, 2008.
11#  author : Salih Yurttas. Jackson Booth.
12#
13#  d_10.rb
14#
15
16N = 4
17
18print "-> i : "
19
20i = gets.to_i
21
22if i!=N
23  print "i = ", i, ", N = ", N, "\n"
24end