> a = 5000
> r = 0.06
> p = 100 
> (1..5).each {|i|
>   puts "#{i}\t\#{a}\t#{a*r}\t#{p}" # <-- the #{a} is not print

Remove the "\" before the "#" in position 6 (0 based) in the string.



=====
--
Use your computer to help find a cure for cancer: http://members.ud.com/projects/cancer/

Yahoo IM: michael_s_campbell

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com