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
/*********************************************** | |
* 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
/********************************************** | |
*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
/*********************************************** | |
* 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
/*********************************************** | |
* 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
/*********************************************** | |
* LengthMethod.java | |
* Aaron P. Clark | |
* | |
* This program shows what happens when you call the length method with strings of different lenths. | |
***********************************************/ | |
public class LengthMethod | |
{ | |
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
/****************************************************************** | |
* ClarkAaronWeek3.java | |
* Aaron P. Clark | |
* | |
* This program illustrates concepts learned from | |
* CS151 - Introduction to Programming. In particular | |
* the following from week 3: | |
* - Use the Scanner class to accept input from the user | |
* - Prompt the user for their first name, last name, and | |
* age each individually. |
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
#!/usr/bin/env python | |
# This is a continuation of the my playing with python on the Raspberry | |
# This program will functionally be a calculator that takes two different numeric imputs and then | |
# prompts the user what they want to do with them, in a super-simple fashion. The user enters | |
# two numbers, which are saved as longs'. Then, since I imported regular expressions, you can check | |
# the input text to meet one of the if, elif conditionals below it. For user input validation, I've | |
# placed the first number and second numbers in a while loop that throws an exception for invalid input. | |
import re |
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
/*********************************************************************** | |
* Title: ACDissector.java | |
* Description: | |
* Stores the phone number as a colon separated string of numbers | |
* and as four separate pieces: | |
* - colonSeparated "1:919:882:5000" | |
* - countryCode - stored as a String could hold 001 | |
* - areaCode, prefix, number - stored as int | |
* | |
* Constructor: |
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
/*********************************************************************** | |
* Title: AaronClarkProg1.java | |
* Description: | |
* This program is the driver for APDissector.java and was created to | |
* fill partial requirements for CS219 at Park University. The basic | |
* ideas is that this driver instantiates a new APDissector object with | |
* the input shown below. | |
* | |
* Expected output: | |
* 1:919:882:5000 |