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
1 change: 0 additions & 1 deletion .idea/misc.xml

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

7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@

### Part 1 - AlanTuring.java
The line "// Write your program here" is a single line comment, and the Java compiler will ignore it.
* Add your code below the comment that prints the string "Alan Turing" and run the program.

* Add your code below the comment that prints the string "Alan Turing" and run the program
*
*
The output of the program should be:
```
```System.out.printin("Alan Turing");
Alan Turing
```

Expand Down
10 changes: 9 additions & 1 deletion src/AlanTuring.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
public class AlanTuring {
/*
* @author Trevor Hartman
* @author Angelina Danna
*
* @since Version 1.0
*/
/**
* Prints Alan Turing to the console
* @param args Command line arguments [The source file path, The target file path, ...]
**/
public static void main(String[] args) {
// Write your program here
// generate some simple output
System.out.println("Alan Turing");

}
}
9 changes: 9 additions & 0 deletions src/InAGalaxyFarFarAway.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
public class InAGalaxyFarFarAway {
/*
* @author Trevor Hartman
* @author Angelina Danna
*
* @since Version 1.0
*/
/**
* 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, ...]
**/
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....");
}
}
8 changes: 7 additions & 1 deletion src/JurassicPark.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
public class JurassicPark {
/* * @author Trevor Hartman
* @author Angelina Danna
*
* @since Version 1.0
*/
/**
* 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, ...]
**/
*/
public static void main(String[] args) {
// Write your program here
System.out.println("\"Life, uh,\n finds a way.\"\n-Ian Malcolm");
}
}