Jaimin Pandya wrote in post #1137467:
>
> From above program I am getting output improper way.
>
> My question is how can I get output in proper way.

Add some commas.

For future reference, it also helps if you define "improper" and 
"proper". For all we know you might want it all concatenated on a single 
line.

-- 
Posted via http://www.ruby-forum.com/.