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: 4 additions & 1 deletion 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.**

The first thing I did was change the letter casing in the class name. The second thing I did was delete the opening parenthesis in front of “main”.
The third thing I did was make a part of the code after the closing bracket of “public static void main (String[] args) {}”. The fourth and fifth thing I did was delete the semicolon from “int x = 50;” and I also capitalized the “I” in “int”. I tried to make the mistakes not too obvious but some of them you can find right from the start. I didn’t have a partner but I posted my code in the Student Lounge forum.

---

## Part 2: Date Display Program
Expand Down Expand Up @@ -51,4 +54,4 @@ Just as you did in the first lab (Reference the Lab video in your Week 1 module)
4. Then issue a Pull request to my instructor repo
5. **Make sure to COPY the Pull request URL and submit it for the lab/assignment in Canvas.**

Enjoy the learning process!
Enjoy the learning process!
17 changes: 17 additions & 0 deletions src/Date.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
public class Date {
public static void main (String[] args) {

System.out.println("Hello World");

int day = 27;
int month = 1;
int year = 24;
String date = "Saturday, January 27, 2024";

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


}
}
24 changes: 23 additions & 1 deletion src/StumpTheChump.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
/**
*
* @author Trevor Hartman
* @author Andrew Escarcega
*
* @since 1/27/24
*
*/
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?");
}


/* public class StumpThechump {
// Initially working program.
public static void main String[] args) {
System.out.println("Hi Chump, can you be stumped?");
}
Int x = 50
int y = 100;
System.out.println(x / y);

System.out.println("The total is " + x + " dollars");
*/

}