diff --git a/.idea/misc.xml b/.idea/misc.xml index 07115cd..ef89d98 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ - diff --git a/README.md b/README.md index 42b9337..37b3d08 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,11 @@ ### Part 1 - AlanTuring.java The line "// Write your program here" is a single line comment, and the Java compiler will ignore it. -* Add your code below the comment that prints the string "Alan Turing" and run the program. - +* Add your code below the comment that prints the string "Alan Turing" and run the program +* +* The output of the program should be: -``` +```System.out.printin("Alan Turing"); Alan Turing ``` diff --git a/src/AlanTuring.java b/src/AlanTuring.java index 536a0a0..34bf08c 100644 --- a/src/AlanTuring.java +++ b/src/AlanTuring.java @@ -1,9 +1,17 @@ public class AlanTuring { + /* + * @author Trevor Hartman + * @author Angelina Danna + * + * @since Version 1.0 + */ /** * Prints Alan Turing to the console * @param args Command line arguments [The source file path, The target file path, ...] **/ public static void main(String[] args) { - // Write your program here + // generate some simple output + System.out.println("Alan Turing"); + } } \ No newline at end of file diff --git a/src/InAGalaxyFarFarAway.java b/src/InAGalaxyFarFarAway.java index ac6c6a6..6fe3fb1 100644 --- a/src/InAGalaxyFarFarAway.java +++ b/src/InAGalaxyFarFarAway.java @@ -1,9 +1,18 @@ public class InAGalaxyFarFarAway { + /* + * @author Trevor Hartman + * @author Angelina Danna + * + * @since Version 1.0 + */ /** * Prints a famous Star Wars intro to the console with 3 souts. * @param args Command line arguments [The source file path, The target file path, ...] **/ public static void main(String[] args) { // Write your program here + System.out.println("A long time ago"); + System.out.println("In a galaxy far,"); + System.out.println("Far away...."); } } \ No newline at end of file diff --git a/src/JurassicPark.java b/src/JurassicPark.java index c7951fa..5226ab3 100644 --- a/src/JurassicPark.java +++ b/src/JurassicPark.java @@ -1,9 +1,15 @@ public class JurassicPark { +/* * @author Trevor Hartman +* @author Angelina Danna +* +* @since Version 1.0 +*/ /** * Prints famous Jurasic Park quote to console with only 1 sout statement. * @param args Command line arguments [The source file path, The target file path, ...] - **/ + */ public static void main(String[] args) { // Write your program here + System.out.println("\"Life, uh,\n finds a way.\"\n-Ian Malcolm"); } }