Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
5 changes: 3 additions & 2 deletions src/HelloXwing.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public class HelloXwing {
*/
static String xwing() {
return """
__
Yoda __
.-.__ \\ .-. ___ __
|_| '--.-.-( \\/\\;;\\_\\.-._______.-.
(-)___ \\ \\ .-\\ \\;;\\( \\ \\ \\
Expand All @@ -24,9 +24,10 @@ static String xwing() {
\\_:. \\
\\ \\ \\
\\ \\ \\
\\_\\_|""";
Yoda \\_\\_|""";
}

public static void main(String[] args) {
System.out.println(xwing());
}
}