Temple University

Java Projects

*Due to security restrictions, java files are not available for direct download*
*Links below to www.pastebin.com to view raw code*

Diamond.java // prompts the user for a number (size of the diamond)

Craps.java // simulates the casino game Craps

Prime.java // asks the user for a number, then checks if the number is prime

Swap.java // asks the user for 5 numbers then locates the min and max values. Once found, swaps their position in the array