This file contains hidden or 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
/*********************************************** | |
* JOptionPurchaseOrder.java | |
* Aaron P. Clark | |
* | |
* This program calculates and prints a purchase order amount | |
***********************************************/ | |
import javax.swing.JOptionPane; | |
public class JOptionPurchaseOrder |
This file contains hidden or 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
/*********************************************** | |
* JOptionInstallationDialog.java | |
* Aaron P. Clark | |
* | |
* This program prints a JOptionPane window with a message | |
***********************************************/ | |
import javax.swing.JOptionPane; | |
public class JOptionInstallationDialog |
This file contains hidden or 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
/********************************************** | |
*IncrementAndDecrement | |
*Kalilikane Kimo | |
* | |
*This program demonstrates the use of the | |
*increment and decrement operators. It also | |
*demonstrates the use of a pre and post | |
*fix operators. | |
**********************************************/ |
This file contains hidden or 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
/*********************************************** | |
* EqualsIgnoresCaseMethod.java | |
* Aaron P. Clark | |
* | |
* This program compares strings and illustrates the use of the equalsIgnoresCase method | |
***********************************************/ | |
public class EqualsIgnoresCaseMethod | |
{ | |
public static void main(String[] args) |
This file contains hidden or 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
/*********************************************** | |
* TemperatureConverter.java | |
* Aaron P. Clark | |
* | |
* This program converts a Fahrenheit temp to Celcius Temp | |
* I created it to remind myself about named constants and | |
* the final modifier. | |
***********************************************/ | |
public class TemperatureConverter |
This file contains hidden or 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
/*********************************************** | |
* WhileLoopSentinalValue.java | |
* Aaron P. Clark | |
* | |
* Based on the pseudocode while loop on p.40 in Ch 2. | |
* Takes scores and computes average. | |
***********************************************/ | |
import java.util.Scanner; | |
This file contains hidden or 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
/*********************************************** | |
* whileLoop.java | |
* Aaron P. Clark | |
* | |
* I created this for Park programming calss to learn | |
* how to accept command-line input in a loop | |
***********************************************/ | |
import java.util.Scanner; | |
public class whileLoop |
This file contains hidden or 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
/*********************************************** | |
* printLoop.java | |
* Aaron P. Clark | |
* | |
* Created from pseudocode in Ch. 2 of Park Univ. | |
* book. I wanted to figure out how to print something | |
* a given number of times. | |
***********************************************/ | |
// Created from pseudocode in Ch. 2 of Park University book. |
This file contains hidden or 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
/*********************************************** | |
* HappyBirthday.java | |
* Aaron P. Clark | |
* | |
* Based on the pseudocode while loop on p.37 in Ch 2. | |
* prints "Happy birthday!" 100x | |
***********************************************/ | |
public class HappyBirthday | |
{ |
This file contains hidden or 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
/*********************************************** | |
* CirclePrompt.java | |
* Aaron P. Clark | |
* | |
* Created to understand java.util.Scanner and Ch 2. | |
* shows the area of a circle if you say it's your | |
* favorite shape when prompted. See P.32 in our | |
* text for the pseudocode | |
***********************************************/ |