From d9caf15141ce3ed2aedac92ff761d6158d4e579d Mon Sep 17 00:00:00 2001 From: ishwar Date: Fri, 15 Dec 2023 15:20:57 -0800 Subject: [PATCH 1/2] assignment 1 --- .idea/misc.xml | 2 +- src/AlanTuring.java | 12 +++++++++++- src/InAGalaxyFarFarAway.java | 14 ++++++++++++-- src/JurassicPark.java | 10 +++++++++- 4 files changed, 33 insertions(+), 5 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 07115cd..0be1bd5 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..d35cd80 100644 --- a/src/AlanTuring.java +++ b/src/AlanTuring.java @@ -1,9 +1,19 @@ + public class AlanTuring { /** * Prints Alan Turing to the console * @param args Command line arguments [The source file path, The target file path, ...] **/ + /** + * + * @author Trevor Hartman + * @author Ishwar Sharma + * + * @since Version 1.0 + * + */ 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..34ac681 100644 --- a/src/InAGalaxyFarFarAway.java +++ b/src/InAGalaxyFarFarAway.java @@ -3,7 +3,17 @@ public class InAGalaxyFarFarAway { * 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, ...] **/ + /** + * + * @author Trevor Hartman + * @author Ishwar Sharma + * + * @since Version 1.0 + * + */ 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..dde16af 100644 --- a/src/JurassicPark.java +++ b/src/JurassicPark.java @@ -3,7 +3,15 @@ public class JurassicPark { * 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, ...] **/ + /** + * + * @author Trevor Hartman + * @author Ishwar Sharma + * + * @since Version 1.0 + * + */ public static void main(String[] args) { - // Write your program here + System.out.println("\"Life, uh,\"\nfinds a way.\"\n—Ian Malcolm"); } } From 5ac59d3f0224bd1e77c1576c8e35da314ad3fed7 Mon Sep 17 00:00:00 2001 From: ishwar Date: Fri, 15 Dec 2023 15:22:07 -0800 Subject: [PATCH 2/2] assignment 1 --- src/AlanTuring.java | 2 -- src/InAGalaxyFarFarAway.java | 2 -- src/JurassicPark.java | 2 -- 3 files changed, 6 deletions(-) diff --git a/src/AlanTuring.java b/src/AlanTuring.java index d35cd80..e7ae01c 100644 --- a/src/AlanTuring.java +++ b/src/AlanTuring.java @@ -3,8 +3,6 @@ public class AlanTuring { /** * Prints Alan Turing to the console * @param args Command line arguments [The source file path, The target file path, ...] - **/ - /** * * @author Trevor Hartman * @author Ishwar Sharma diff --git a/src/InAGalaxyFarFarAway.java b/src/InAGalaxyFarFarAway.java index 34ac681..8edb20e 100644 --- a/src/InAGalaxyFarFarAway.java +++ b/src/InAGalaxyFarFarAway.java @@ -2,8 +2,6 @@ public class InAGalaxyFarFarAway { /** * 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, ...] - **/ - /** * * @author Trevor Hartman * @author Ishwar Sharma diff --git a/src/JurassicPark.java b/src/JurassicPark.java index dde16af..3936540 100644 --- a/src/JurassicPark.java +++ b/src/JurassicPark.java @@ -2,8 +2,6 @@ public class JurassicPark { /** * 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, ...] - **/ - /** * * @author Trevor Hartman * @author Ishwar Sharma