From 16dd9105d3c492c36a0baad068d0ac856adf260f Mon Sep 17 00:00:00 2001 From: naqib Date: Wed, 20 Sep 2023 12:44:17 -0700 Subject: [PATCH] java assignment done --- .idea/misc.xml | 2 +- src/AlanTuring.java | 9 +++++++++ src/InAGalaxyFarFarAway.java | 10 ++++++++++ src/JurassicPark.java | 9 +++++++++ 4 files changed, 29 insertions(+), 1 deletion(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 07115cd..952b1db 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/src/AlanTuring.java b/src/AlanTuring.java index 536a0a0..9811af3 100644 --- a/src/AlanTuring.java +++ b/src/AlanTuring.java @@ -1,3 +1,11 @@ +/** + * + * @author Trevor Hartman + * @author + * + *9/20/23 + * + */ public class AlanTuring { /** * Prints Alan Turing to the console @@ -5,5 +13,6 @@ public class AlanTuring { **/ public static void main(String[] args) { // Write your program here + System.out.println("Alan Turing"); } } \ No newline at end of file diff --git a/src/InAGalaxyFarFarAway.java b/src/InAGalaxyFarFarAway.java index ac6c6a6..20b3814 100644 --- a/src/InAGalaxyFarFarAway.java +++ b/src/InAGalaxyFarFarAway.java @@ -1,3 +1,11 @@ +/** + * + * @author Trevor Hartman + * @author + * + *9/20/23 + * + */ public class InAGalaxyFarFarAway { /** * Prints a famous Star Wars intro to the console with 3 souts. @@ -5,5 +13,7 @@ public class InAGalaxyFarFarAway { **/ public static void main(String[] args) { // Write your program here + System.out.println("In a Galaxy Far Far Away"); + System.out.println("A long time ago\nin a galaxy far,\nfar away...."); } } \ No newline at end of file diff --git a/src/JurassicPark.java b/src/JurassicPark.java index c7951fa..ca4088a 100644 --- a/src/JurassicPark.java +++ b/src/JurassicPark.java @@ -1,3 +1,11 @@ +/** + * + * @author Trevor Hartman + * @author + * + *9/20/23 + * + */ public class JurassicPark { /** * Prints famous Jurasic Park quote to console with only 1 sout statement. @@ -5,5 +13,6 @@ public class JurassicPark { **/ public static void main(String[] args) { // Write your program here + System.out.println("\"life, uh,\nfinds a way.\"\n-Ian Malcom "); } }