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.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ 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.**

I played this game with my girlfriend so all she did was delete random letters from the original stump the chump code and asked if I could see the problem, and amazingly, I figured everything out and got it working again I just had a problem with the 4th line because I didn't know that it was println instead of printin
---

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

public static void main(String[] args) {
String day, month;
int date, year;

day = "Saturday";
date = 27;
month = "January";
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("\nStandard American Format:");
System.out.println(day + ", " + month + " " + date + ", " + year);

System.out.println("\nEuropean Format:");
System.out.println(date + " " + month + " " + year);
}
}
2 changes: 1 addition & 1 deletion src/StumpTheChump.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ public class StumpTheChump {
public static void main(String[] args) {
System.out.println("Hi Chump, can you be stumped?");
}
}
}