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.*; | |
/* | |
* Name: | |
* Date: 4/21/2018 | |
* Project: CoinToss | |
*/ | |
public class Coin { | |
String sideUp; |
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 javax.swing.*; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
/* | |
* Name: Geoffrey Zoref | |
* Date: 9/30/2018 | |
* Project: Monthly Sales Tax - GUI | |
*/ |
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
package ticTacToe; | |
import java.util.Arrays; | |
import java.util.Scanner; | |
/* | |
* Name: Geoffrey Zoref | |
* Date: 10/3/2018 | |
* Project: Tic Tac Toe | |
*/ |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<module type="JAVA_MODULE" version="4"> | |
<component name="NewModuleRootManager" inherit-compiler-output="true"> | |
<exclude-output /> | |
<content url="file://$MODULE_DIR$"> | |
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | |
</content> | |
<orderEntry type="inheritedJdk" /> | |
<orderEntry type="sourceFolder" forTests="false" /> | |
</component> |
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
package DiceGame; | |
import java.util.Random; | |
/* | |
* Name: Geoffrey Zoref | |
* Date: 9/7/2018 | |
* Project: Classes and Objects - Ch. 6 | |
*/ |
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
/* | |
* Name: Geoffrey Zoref | |
* Date: 10/10/2018 | |
* Project: Classes and Objects - Ch. 6 | |
*/ | |
import java.text.DecimalFormat; | |
import java.text.NumberFormat; | |
import java.util.Scanner; |
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
package com.object.params; | |
import java.util.Scanner; | |
/* | |
* Name: Geoffrey Zoref | |
* Date: 9/8/2018 | |
* Project: Classes and Objects - Ch. 6 | |
*/ |
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
package com.object.params;/* | |
* Name: Geoffrey Zoref | |
* Date: 9/7/2018 | |
* Project: Classes and Objects - Ch. 6 | |
*/ | |
public class Box { | |
double width, height, depth; |
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
<component name="ProjectCodeStyleConfiguration"> | |
<code_scheme name="Project" version="173"> | |
<option name="AUTODETECT_INDENTS" value="false" /> | |
<codeStyleSettings language="JAVA"> | |
<option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false" /> | |
<option name="KEEP_BLANK_LINES_IN_DECLARATIONS" value="4" /> | |
<option name="CLASS_BRACE_STYLE" value="5" /> | |
<option name="METHOD_BRACE_STYLE" value="5" /> | |
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true" /> | |
<option name="ALIGN_MULTILINE_PARENTHESIZED_EXPRESSION" value="true" /> |
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.Scanner; | |
public class ChoHanMain { | |
public static void main(String[] args) { | |
final int MAX = 5; | |
String player1Name; | |
String player2Name; | |
Scanner input = new Scanner(System.in); |
OlderNewer