This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class RPNCalc { | |
private static Stack<Integer> stack = new Stack<Integer>(); | |
private static Scanner input = new Scanner(System.in); | |
public static void calculator() throws Exception { | |
System.out.println("Welcome to the RPN Calculator program!"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Made by Stephen Berkner | |
# Spring 2014 | |
import random | |
print("Hello! Welcome to the Rock Paper Scissors Program!") | |
isWin = False | |
while isWin == False: |