CitŠ’ len <lsumnler / gmail.com>:

> I am trying to write a small little program that will currently run in
> a command window (I will convert it later to GUI).
> 
> How do I request input from the user such as:
> 
> >>Please enter dollar amount:
> 
> I would like the prompt to display and the user to be able to enter the
> data after the prompt.  I thought "gets" would do it but I don't
> understand how to get the prompt to display.
> 
> Thanks
> Len Sumnler
> 
> 
> 


Well, this isn't BASIC, gets isn't supposed to display a prompt. Go like this:

  puts ">>>Please enter dollar amount:"
  amount = gets

David Vallner