Skip to content

Instantly share code, notes, and snippets.

View kurtkaiser's full-sized avatar

Kurt Kaiser kurtkaiser

View GitHub Profile
@kurtkaiser
kurtkaiser / DemoRaceDataLog.java
Last active August 14, 2018 19:29
This was an assignment for an advanced java course at my local community college. It creates an array from a text file that contains data about the amount of time it takes a runner to complete a half-marathon. I was then required to create a way for a user to input a runner's number and get data about their race performance printed to the console.
/*
Kurt Kaiser
CTIM 168
07.28.2018
Homework: C10PP10
RFID Race Data Text File Log
*/
import java.io.FileNotFoundException;
import java.util.Scanner;
@kurtkaiser
kurtkaiser / ConvertTimeNotation.java
Created August 12, 2018 18:24
This program allows the user to enter a time in 24-notation. The program throws an exception if the format or numbers are invalid. If no exceptions exist it converts the time and outputs it in 12-hour notation to the console. This was an assignment for an advanced java course at my local community college.
/*
Kurt Kaiser
CTIM-168
7/23/2018
Convert Time
Chapter 9 - Project 1
*/
import java.util.Scanner;
@kurtkaiser
kurtkaiser / BreedingHorse.java
Last active August 12, 2018 18:15
This was an assignment for an advance java class at my local community college. I was under a bit of a time crunch, so this program is somewhat thrown together. However, if it works it works.
/*
* Kurt Kaiser
* CTIM 168 E40
* 7.13.2018
*
*/
import java.util.Objects;
public class BreedingHorse extends Horse
@kurtkaiser
kurtkaiser / Periodic.java
Last active August 12, 2018 18:02
An assignment for an advance java course at my local community college. The assignment asked for four separate files, as shown below. Periodic needed to be abstract and PeriodArray had contain both metals and nonmetals elements.
/*
Kurt Kaiser
CTIM-168 E40
07.11.2018
*/
import java.util.Objects;
public abstract class Periodic
{
@kurtkaiser
kurtkaiser / PhoneBook.java
Created August 12, 2018 16:28
This was an assignment for an advance college course at my local community college. The assignment gives you much of the code, it combines two seperate arrays, names and phone numbers, into a single multidimensional array. It allows the user the to look up numbers too.
// Kurt Kaiser
// CTIM-168 E40
// 7.13.2018
import java.util.Scanner;
public class PhoneBook
{
/* Creates multidimensional array of numbers and
asking for users input, calls lookup and outputs
@kurtkaiser
kurtkaiser / GeoFigure.java
Last active August 12, 2018 16:22
This program uses an abstract class, a interface and two subclasses to create a triangle and square object. It was an assignment from an advance java course at my local community college.
/*
Kurt Kaiser
CTIM-168 E40
07.13.2018
*/
public class DemoGeoFigure {
// Demonstrate Square subclass
public static void mysquare(){