From ff4807f9161b83efc5ee07b0c5c207d61b05ed8e Mon Sep 17 00:00:00 2001 From: Skyler Date: Wed, 13 Sep 2023 12:25:21 -0700 Subject: [PATCH 1/2] Added a comment --- .idea/misc.xml | 1 - README.md | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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..9c1b87e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Java-Assignment-001 +# This is a test + ## Assignment 1 Playing with printing. ### Part 1 - AlanTuring.java From 4f0d8d58d82523afc53e7bbdf570382c5189f235 Mon Sep 17 00:00:00 2001 From: Skyler Date: Wed, 13 Sep 2023 13:39:01 -0700 Subject: [PATCH 2/2] Added a comment --- src/AlanTuring.java | 9 +++++++++ src/InAGalaxyFarFarAway.java | 11 +++++++++++ src/JurassicPark.java | 9 +++++++++ 3 files changed, 29 insertions(+) diff --git a/src/AlanTuring.java b/src/AlanTuring.java index 536a0a0..9ef22a3 100644 --- a/src/AlanTuring.java +++ b/src/AlanTuring.java @@ -1,3 +1,11 @@ +/** + * + * @author Trevor Hartman + * @author Skyler Means + * + * @since Version 1.0 + * + */ 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.print("Alan Turing"); } } \ No newline at end of file diff --git a/src/InAGalaxyFarFarAway.java b/src/InAGalaxyFarFarAway.java index ac6c6a6..99cd983 100644 --- a/src/InAGalaxyFarFarAway.java +++ b/src/InAGalaxyFarFarAway.java @@ -1,3 +1,11 @@ +/** + * + * @author Trevor Hartman + * @author Skyler Means + * + * @since Version 1.0 + * + */ public class InAGalaxyFarFarAway { /** * Prints a famous Star Wars intro to the console with 3 souts. @@ -5,5 +13,8 @@ public class InAGalaxyFarFarAway { **/ 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.print("far away...."); } } \ No newline at end of file diff --git a/src/JurassicPark.java b/src/JurassicPark.java index c7951fa..5b5037a 100644 --- a/src/JurassicPark.java +++ b/src/JurassicPark.java @@ -1,3 +1,11 @@ +/** + * + * @author Trevor Hartman + * @author Skyler Means + * + * @since Version 1.0 + * + */ 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.print("\"Life, uh,\nfinds a way.\"\n-Ian Malcolm"); } }