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 have responded to two classmates posts on the student lounge discussion. I corrected two sets of code. My method was to simply read the code and look for errors. After finding codes by just reading it I entered the code into intellij and ran the code to see if there were any additional errors. The errors I put in my code included, system not being capitalized, a missing ), a missing ;, removing public from "public static void", and removing a period between System and out. At this point in time, no one had responded to my post to correct my code.
---

## Part 2: Date Display Program
Expand Down
15 changes: 15 additions & 0 deletions src/Date.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
public class Date {
public static void main(String[] args) {
System.out.println("Today's date is: ");
String day = "Friday, ";
String month = "January ";
int date = 26 ;
int year = 2024;

System.out.println(day + month + date + ", " + year);
// european format
System.out.println(day + date + " " + month + year);

}

}
8 changes: 7 additions & 1 deletion src/StumpTheChump.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
public class StumpTheChump {
// Initially working program.
public static void main(String[] args) {
public static void main(String[] args) {

System.out.println("Hi Chump, can you be stumped?");
int x = 15;
int y = 30;
System.out.println(x * y);

}

}