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.

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ HINT: CR Computer Science Discord groups are a great way to play this game remot

**After 5 rounds, modify this README.md with a paragraph describing your attempt to stump your partner and the steps your partner took to identify and correct the error or the steps you think they should have used if they didn't solve the problem.**

## Assignment Paragraph with John Matney
For the first attempt I was up to change the code so I changed the worst System to system and John figured it out pretty quickly without the compiler, the steps he took was looking for the correct punctuation that is typically used in these types of source code. For the second attempt John was up to change the code, during his attempt he changed the first curly bracket to a regular parenthesis. I was unable to find it because I failed to figure out that the parenthesis replaced something, instead I placed an opposite facing parenthesis to try and fill it in. For the third attempt I was up to make changes so I decided to change the word println to Println, John figured it out pretty quickly. The steps he took to figure this out was to look at all the punctuation again like he did with the System change. For the fourth attempt John was up to change the code so he changed the semicolon to a colon, I figured this one out by using the compiler to be honest that one kind of told me that it was missing a semicolon. For the fifth attempt John changed the name StumpTheChump to stumpthechump, I figured it out without the compiler this time and then I changed it to what it was regularly. I figured this out by looking for punctuation due to me constantly changing the punctuation of the words myself.

---

## Part 2: Date Display Program
Expand Down
19 changes: 19 additions & 0 deletions src/Date.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
public class Date {

public static void main(String[] args) {

String day = "Thursday" ;
int date = 25;
String month = "January" ;
int year = 2024;

System.out.println("Day: " + day);
System.out.println("Date: " + date);
System.out.println("Month: " + month);
System.out.println("Year: " + year);

System.out.println("American Format: " + day + ", " + month + " " + date + ", " + year);

System.out.println("European Format: " + date + ", " + month + ", " + year);
}
}
3 changes: 2 additions & 1 deletion src/StumpTheChump.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
public class StumpTheChump {
// Initially working program.
public static void main(String[] args) {
System.out.println("Hi Chump, can you be stumped?");
System.out.println("Hi Chump,can you be stumped?");
}
}