From 4cb654e17da9f037ac388b05ec90e76a2216881a Mon Sep 17 00:00:00 2001 From: agarcia923 Date: Thu, 24 Aug 2023 12:35:11 -0700 Subject: [PATCH 1/2] Finished lab 001 --- .idea/misc.xml | 2 +- src/HelloXwing.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 07115cd..5ad49fe 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/src/HelloXwing.java b/src/HelloXwing.java index 16dfd8e..9654841 100644 --- a/src/HelloXwing.java +++ b/src/HelloXwing.java @@ -28,5 +28,6 @@ static String xwing() { } public static void main(String[] args) { + System.out.println(xwing()); } } From f84141f0812c3902f49526e060666b47fd5c86bd Mon Sep 17 00:00:00 2001 From: agarcia923 Date: Tue, 5 Sep 2023 12:32:09 -0700 Subject: [PATCH 2/2] Ok this should be the complete assignment! --- .idea/misc.xml | 2 +- README.md | 9 +++++++++ src/HelloXwing.java | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 5ad49fe..2f755b0 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/README.md b/README.md index 5c6885c..5c3c8e5 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,12 @@ * Modify the HelloXwing.java file to print out to the **console** the xwing() method. * Run your program, verify an ascii-art X-Wing prints to the console, and save your changes. * Commit your changes back to your GitHub account and follow the video on doing a Pull request to the instructor account. +# +# English Vs. Computer Science (Fight!) +1.The difference between a statement and a comment is that a statement is a line of code that performs a basic operation, while a comment has no effect on the execution of the code and make it easier to understand the code. + +2.When they say a program is portable, the mean that it can run on other computers. + +3.In common English, the word compile means to produce by assembling information collected from other sources. + +4.An executable is a computer file containing a program, or part of a program, that is capable of being executed. It is used as a noun because it is calling it executable rather than performing the execution. diff --git a/src/HelloXwing.java b/src/HelloXwing.java index 9654841..0b264c6 100644 --- a/src/HelloXwing.java +++ b/src/HelloXwing.java @@ -6,7 +6,7 @@ public class HelloXwing { */ static String xwing() { return """ - __ + Yoda __ .-.__ \\ .-. ___ __ |_| '--.-.-( \\/\\;;\\_\\.-._______.-. (-)___ \\ \\ .-\\ \\;;\\( \\ \\ \\ @@ -24,7 +24,7 @@ static String xwing() { \\_:. \\ \\ \\ \\ \\ \\ \\ - \\_\\_|"""; + Yoda \\_\\_|"""; } public static void main(String[] args) {