Skip to content

Instantly share code, notes, and snippets.

View applegateaustin's full-sized avatar

Austin Applegate applegateaustin

  • Lawrence Kansas
View GitHub Profile
@applegateaustin
applegateaustin / SeasonStartDay.java
Created September 19, 2012 00:37
SeasonStartDay.java
import java.util.Scanner;
public class SeasonStartDay
{
public static void main(String[] args)
{
Scanner keyboard = new Scanner(System.in);
//declaring variables
@applegateaustin
applegateaustin / questionB.java
Created September 23, 2012 16:32
questionB test 1 eecs 168
public class questionB
{
public static void main(String[] args)
{
int x = 3;
@applegateaustin
applegateaustin / AsciiArt.java
Created October 1, 2012 14:17
Make the pattern chosen by the user
/*File Name: <AsciiArt.java>
Author: <Austin Applegate>
KUID: <2210758>
Email Address: <theappler@gmail.com>
Homework Assignment Number: < 2 >
Description: <Depending on what number the user chooses it will display a specific pattern relating the number choosen>
Last Changed: <9/30/12>
*/
import java.util.Scanner;
import java.util.Scanner;
public class AsciiArt1 {
public static void main(String[] args){
Scanner keyboard = new Scanner(System.in);
//declaring variables
int userInput;
@applegateaustin
applegateaustin / CubeString.java
Created October 7, 2012 17:53
Print the users string so that it has all the letters of the string vertically and horizontally
/*File Name: <CubeString.java>
Author: <Austin Applegate>
KUID: <2210758>
Email Address: <theappler@gmail.com>
Homework Assignment Number: < 2 >
Description: <Given a word from the user the program will make a cube out of it where the word will be spelled out vertically and horizontally>
Last Changed: <9/30/12>
*/
import java.util.Scanner;
import java.util.Scanner;
public class KUStudentTest {
public static void main(String[] args){
Scanner keyboard = new Scanner(System.in);
KUStudent name = new KUStudent();
KUStudent info = new KUStudent();
public class KUStudent {
private String stud_fname;
private String stud_lname;
private String stud_kuid;
private String stud_dpt;
public void set_name(String fname, String lname){
stud_fname = fname;
import java.util.Scanner;
public class KUStudentTest {
public static void main(String[] args){
Scanner keyboard = new Scanner(System.in);
KUStudent name = new KUStudent();
KUStudent info = new KUStudent();
public class KUStudent {
private String stud_fname;
private String stud_lname;
private String stud_kuid;
private String stud_dpt;
public void set_name(String fname, String lname){
stud_fname = fname;
@applegateaustin
applegateaustin / Animal.java
Created October 12, 2012 20:05
old MacDonald
public class Animal {
private String anim_type;
private String anim_sound;
public void setSound(String newSound){
anim_sound = newSound;
}
public void setType(String newType){