Write a program to play the rock-paper-scissors game. Two users take turns entering R, P, or S.
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a program to play the rock-paper-scissors game. Two users take turns entering R, P, or S. The program then announces the winner, based on the rule that paper covers rock, rock breaks scissors, scissors cut paper.
Include proper documentation in the source code.
Related Book For
Java An Introduction To Problem Solving And Programming
ISBN: 9780134462035
8th Edition
Authors: Walter Savitch
Posted Date: