Added procedure and prompt

Added procedure to print out prompted value.