diff --git a/.idea/misc.xml b/.idea/misc.xml index 7464918..69ace3f 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..e843d12 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,9 @@ * 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 +1. A ***statement*** is an executable line of code that performs an action when the program is run. A ***comment*** is a line of text that explains the code but is not executed. +2. A program is ***portable*** if it can be run on different kinds of computers with little to no modification. +3. To ***compile*** code is to translate it into machine-language and generate a file containing that machine-langauge code. +4. An ***executable*** is the file containing the compiled code. \ No newline at end of file diff --git a/src/HelloXwing.java b/src/HelloXwing.java index 2b2f3bb..4444f43 100644 --- a/src/HelloXwing.java +++ b/src/HelloXwing.java @@ -1,9 +1,19 @@ +/** + * + * @author Trevor Hartman + * @author Molly Severdia + * + * @since version 1.0 + * + */ + public class HelloXwing { /** * Returns a String containing a X-Wing ASCII-Art * * @return Ascii-Art String of an X-Wing */ + static String xwing() { return """ __ @@ -28,6 +38,7 @@ static String xwing() { } public static void main(String[] args) { + System.out.println(HelloXwing.xwing()); // Comment } }