Rock, Paper, Scissors

Write a program that pits the human user against the computer in a game of "Rock, Paper, Scissors" as in the output below.  As always, use only what you learned so far IN THIS CLASS.

Decisions to make: 

How do you know when the game ends?

How to randomize computer's choice - R, P, S?