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.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@
* 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.

1.) A statement is telling what the code has to do, and a comment tells us what it will do by having a note in the code.
2.) It can be moved from one place to another.
3.) Produce by collecting sources.
4.) A program or file that can be executed.
12 changes: 9 additions & 3 deletions src/HelloXwing.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
public class HelloXwing {
/**
/**
* @author Trevor Hartman
* @author Angelina Danna
* @since Version 1.0
*/

public class HelloXwing { /**
* Returns a String containing a X-Wing ASCII-Art
*
* @return Ascii-Art String of an X-Wing
Expand Down Expand Up @@ -28,6 +33,7 @@ static String xwing() {
}

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